Skip to content

Instantly share code, notes, and snippets.

@jhegedus42
Created June 21, 2015 10:25
Show Gist options
  • Save jhegedus42/42ca83e9188c47f9c077 to your computer and use it in GitHub Desktop.
Save jhegedus42/42ca83e9188c47f9c077 to your computer and use it in GitHub Desktop.
import Reflex.Dom
main = mainWidget $ el "div" $ do
t <- textInput def
dynText $ _textInput_value t
@jhegedus42
Copy link
Author

It says :
[nix-shell:~/try-reflex]$ ghcjs source.hs
[1 of 1] Compiling Main ( source.hs, source.js_o )

source.hs:4:22: Not in scope: ‘def’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment