From 1983893bf09a5c2ea1946e156be5da170075af7e Mon Sep 17 00:00:00 2001 From: eric thul Date: Sun, 5 Jul 2015 10:13:47 -0400 Subject: Updating for PureScript 0.7 Resolves #14 --- example/src/Foo.purs | 5 ++++- example/src/Foo/Bar.purs | 2 ++ example/src/Test.purs | 2 +- example/src/entry.js | 6 +++++- 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'example/src') diff --git a/example/src/Foo.purs b/example/src/Foo.purs index 3e3a04c..b234e0d 100644 --- a/example/src/Foo.purs +++ b/example/src/Foo.purs @@ -1,6 +1,9 @@ module Foo (foo) where -import Data.Maybe +import Prelude + import qualified Foo.Bar as B foo = "b" + +foo' = "c" diff --git a/example/src/Foo/Bar.purs b/example/src/Foo/Bar.purs index 4ae100d..6932902 100644 --- a/example/src/Foo/Bar.purs +++ b/example/src/Foo/Bar.purs @@ -1,3 +1,5 @@ module Foo.Bar (bar) where bar = "c" + +bar' = "d" diff --git a/example/src/Test.purs b/example/src/Test.purs index 8a5cb88..d9f1b96 100644 --- a/example/src/Test.purs +++ b/example/src/Test.purs @@ -1,5 +1,5 @@ module Test (test) where -import Data.Maybe +import Prelude test = "a" diff --git a/example/src/entry.js b/example/src/entry.js index cc09034..344d4c6 100644 --- a/example/src/entry.js +++ b/example/src/entry.js @@ -1,7 +1,11 @@ +var Prelude = require('Prelude'); + var test = require('./Test'); var foo = require('./Foo'); var baz = require('./Foo/Baz'); -console.log(test, foo, baz); +var bar = require('./Foo/Bar'); + +console.log(Prelude, test, foo, baz, bar); -- cgit v1.2.3