Created
February 9, 2016 14:21
-
-
Save aratama/6de7a370c80a2b15b7d9 to your computer and use it in GitHub Desktop.
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 HelloWorld where | |
import Prelude (Unit()) | |
import Control.Monad.Eff (Eff()) | |
import Control.Monad.Eff.Console (CONSOLE(), log) | |
import Signal (constant, (<~), runSignal) | |
main :: forall eff . Eff (console :: CONSOLE | eff) Unit | |
main = runSignal (log <~ constant "Hello, reactive world") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment