git.iko.soy/rowtype-yoga/purescript-native
on 28fa718 help sign in
17 lines 282 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 Trace.trace "Done"
17 else Errors.throwError "Not done"