aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/src/Foo.purs6
-rw-r--r--example/src/Foo/Bar.purs12
-rw-r--r--example/src/Foo/Boz.purs5
-rw-r--r--example/src/FooFFI.js5
4 files changed, 26 insertions, 2 deletions
diff --git a/example/src/Foo.purs b/example/src/Foo.purs
index 97b7cec..a715be0 100644
--- a/example/src/Foo.purs
+++ b/example/src/Foo.purs
@@ -7,3 +7,9 @@ import qualified Foo.Bar as B
7foo = "A" 7foo = "A"
8 8
9bar = "B" 9bar = "B"
10
11jaz = "D" ++ B.jar ++ B.jee
12
13foreign import foot :: String
14
15foreign import meter :: String
diff --git a/example/src/Foo/Bar.purs b/example/src/Foo/Bar.purs
index 6932902..1b0919c 100644
--- a/example/src/Foo/Bar.purs
+++ b/example/src/Foo/Bar.purs
@@ -1,5 +1,13 @@
1module Foo.Bar (bar) where 1module Foo.Bar (bar, jar, jee) where
2 2
3bar = "c" 3import Foo.Boz
4
5bar = "u"
4 6
5bar' = "d" 7bar' = "d"
8
9jam = "c"
10
11jar = "xyzw"
12
13jee = "abcde"
diff --git a/example/src/Foo/Boz.purs b/example/src/Foo/Boz.purs
new file mode 100644
index 0000000..c802e47
--- /dev/null
+++ b/example/src/Foo/Boz.purs
@@ -0,0 +1,5 @@
1module Foo.Boz where
2
3a = "a"
4
5b = "b"
diff --git a/example/src/FooFFI.js b/example/src/FooFFI.js
new file mode 100644
index 0000000..a2681c8
--- /dev/null
+++ b/example/src/FooFFI.js
@@ -0,0 +1,5 @@
1// module Foo
2
3exports.foot = "a";
4
5exports.meter = "b";