From f97818b550b17455448ff7fe09689b326c30912b Mon Sep 17 00:00:00 2001 From: eric thul Date: Wed, 24 Feb 2016 22:55:17 -0500 Subject: Updating example --- example/src/Foo.purs | 6 ++++++ example/src/Foo/Bar.purs | 12 ++++++++++-- example/src/Foo/Boz.purs | 5 +++++ example/src/FooFFI.js | 5 +++++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 example/src/Foo/Boz.purs create mode 100644 example/src/FooFFI.js 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 foo = "A" bar = "B" + +jaz = "D" ++ B.jar ++ B.jee + +foreign import foot :: String + +foreign 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 @@ -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 index 0000000..c802e47 --- /dev/null +++ b/example/src/Foo/Boz.purs @@ -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 index 0000000..a2681c8 --- /dev/null +++ b/example/src/FooFFI.js @@ -0,0 +1,5 @@ +// module Foo + +exports.foot = "a"; + +exports.meter = "b"; -- cgit v1.2.3