git.iko.soy/rowtype-yoga/purescript-native
on 8877913 help sign in
25 lines 410 B history raw
1module Test where
3 data Foo = Foo String
5 foo :: Test.Foo -> String
6 foo = \f -> case f of Foo s -> s ++ "foo"
8 bar :: Foo -> String
9 bar = foo
11 incr :: Number -> Number
12 incr x = x + 1
14 module Inner where
16 inner = "Inner"
18baz :: Test.Foo -> String
19baz = Test.foo
21innerCopy :: String
22innerCopy = Test.Inner.inner
24match :: Test.Foo -> String
25match = \f -> case f of Test.Foo s -> s ++ "foo"