git.iko.soy/rowtype-yoga/purescript-native
on 2fcd178 help sign in
17 lines 301 B history raw
1module FunctionScope where
3 import Prelude
5 mkValue :: Number -> Number
6 mkValue id = id
7
8module Main where
10 import Prelude
11 import FunctionScope
13 main = do
14 let value = mkValue 1
15 if value == 1
16 then Debug.Trace.trace "Done"
17 else Control.Monad.Error.throwError "Not done"