]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
Updating example
authoreric thul <thul.eric@gmail.com>
Thu, 25 Feb 2016 03:55:17 +0000 (22:55 -0500)
committereric thul <thul.eric@gmail.com>
Thu, 25 Feb 2016 03:55:17 +0000 (22:55 -0500)
example/src/Foo.purs
example/src/Foo/Bar.purs
example/src/Foo/Boz.purs [new file with mode: 0644]
example/src/FooFFI.js [new file with mode: 0644]

index 97b7cec2327e2c47905d2de0ee745396cb4a70f6..a715be007a58af232cffdb3d676f431f54fad0c5 100644 (file)
@@ -7,3 +7,9 @@ import qualified Foo.Bar as B
 foo = "A"
 
 bar = "B"
+
+jaz = "D" ++ B.jar ++ B.jee
+
+foreign import foot :: String
+
+foreign import meter :: String
index 69329021696400f7296c9a77b3cd0c55832f893c..1b0919c9cacc6a23a9a932c87ab2c054306b7934 100644 (file)
@@ -1,5 +1,13 @@
-module Foo.Bar (bar) where
+module Foo.Bar (bar, jar, jee) where
 
-bar = "c"
+import Foo.Boz
+
+bar = "u"
 
 bar' = "d"
+
+jam = "c"
+
+jar = "xyzw"
+
+jee = "abcde"
diff --git a/example/src/Foo/Boz.purs b/example/src/Foo/Boz.purs
new file mode 100644 (file)
index 0000000..c802e47
--- /dev/null
@@ -0,0 +1,5 @@
+module Foo.Boz where
+
+a = "a"
+
+b = "b"
diff --git a/example/src/FooFFI.js b/example/src/FooFFI.js
new file mode 100644 (file)
index 0000000..a2681c8
--- /dev/null
@@ -0,0 +1,5 @@
+// module Foo
+
+exports.foot = "a";
+
+exports.meter = "b";