Sugar.md
June 12, 2015 ยท View on GitHub
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)