Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 689 Bytes

File metadata and controls

21 lines (16 loc) · 689 Bytes

Module Data.DOM.Simple.Sugar

DOMArrows

class DOMArrows b where
  (#<-) :: forall eff. b -> Tuple String String -> Eff (dom :: DOM | eff) Unit
  (<-#) :: forall eff. b -> String -> Eff (dom :: DOM | eff) String
  (<-?) :: forall eff. b -> String -> Eff (dom :: DOM | eff) (Maybe HTMLElement)
  (%<-) :: forall eff. b -> String -> Eff (dom :: DOM | eff) Unit
  (@<-) :: forall eff. b -> String -> Eff (dom :: DOM | eff) Unit
Instances
instance arrowsHTMLElement :: (Element a) => DOMArrows a
instance arrowsEffHTMLElement :: (Element a) => DOMArrows (Eff eff a)
instance arrowsMaybeHTMLElement :: (Element a) => DOMArrows (Maybe a)