Created
July 28, 2011 21:34
-
-
Save roman/1112625 to your computer and use it in GitHub Desktop.
jQuery on Haskell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
j <- select "p" $ do | |
addHTMLClass "ohmy" -- internally using s2js | |
show $ do -- internal monad (different one) | |
speed Slow | |
easing 1024 | |
appendCallback $ do | |
-- some callback | |
appendCallback otherIOAction | |
-- other attributes are Nothing by default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment