git.iko.soy/rowtype-yoga/purescript-native
on 28fa718 help sign in
17 lines 298 B history raw
1module Functions2 where
3 import Prelude
5 test :: forall a b. a -> b -> a
6 test = \const _ -> const
8module Main where
10 import Prelude
11 import Functions2
13 main = do
14 let value = test "Done" {}
15 if value == "Done"
16 then Trace.trace "Done"
17 else Errors.throwError "Not done"