Created
February 9, 2016 14:24
-
-
Save aratama/0fd061137f4f90ca3e49 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 Data.String (toUpper) | |
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 <~ toUpper <~ constant "Hello, reactive world") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment