Created
April 20, 2014 22:01
-
-
Save isomorphism/11126361 to your computer and use it in GitHub Desktop.
ghcjs issue
This file contains 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
module Main where | |
import GHCJS.DOM | |
import GHCJS.DOM.Types | |
import GHCJS.DOM.Document | |
import GHCJS.DOM.EventM | |
main = do | |
Just doc <- currentDocument | |
connect "keydown" doc $ do | |
return () :: EventM KeyboardEvent Document () | |
return () | |
{- | |
generating native | |
[1 of 1] Compiling Main ( Main.hs, Main.o ) | |
generating JavaScript | |
[1 of 1] Compiling Main ( Main.hs, Main.js_o ) | |
Linking Main.jsexe (Main) | |
Objectable get StaticVal: invalid tag 0 | |
-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment