Skip to content

Instantly share code, notes, and snippets.

@aratama
Created February 9, 2016 14:21
Show Gist options
  • Save aratama/6de7a370c80a2b15b7d9 to your computer and use it in GitHub Desktop.
Save aratama/6de7a370c80a2b15b7d9 to your computer and use it in GitHub Desktop.
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