git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
make Import example more complex
cc4db20Bogdan Popa
examples/passing/Import.ps+5−4
@@ -2,10 +2,11 @@ module Hello where
2 id :: forall a. a -> a
2 id :: forall a. a -> a
3 id = \x -> x
3 id = \x -> x
4
4
5− foo = id
5+ module Nested where
6+ import Hello (id)
6
7
7−import Hello
8+ foo = id
8−import Hello (id)
9+
9−import Hello (id, foo)
10+import Hello.Nested
10
11
11main = \() -> foo 42
12main = \() -> foo 42