aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2016-02-24 22:55:17 -0500
committereric thul <thul.eric@gmail.com>2016-02-24 22:55:17 -0500
commitf97818b550b17455448ff7fe09689b326c30912b (patch)
tree2ab19c4a3f01925f1ee5c29f99c4f6cd6e5c1166
parent460393439a8dd7d94fe02a2013e96c9146282bf1 (diff)
downloadpurs-loader-f97818b550b17455448ff7fe09689b326c30912b.tar.gz
purs-loader-f97818b550b17455448ff7fe09689b326c30912b.tar.zst
purs-loader-f97818b550b17455448ff7fe09689b326c30912b.zip
Updating 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";