From 61011aed4ba8c894fd39aa4afdba3511367862fe Mon Sep 17 00:00:00 2001 From: justinwoo Date: Sun, 6 May 2018 03:20:16 +0300 Subject: [PATCH] 0.12 updates --- bower.json | 20 ++++++++++---------- test/Main.purs | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bower.json b/bower.json index ba0167a..ad6db14 100644 --- a/bower.json +++ b/bower.json @@ -20,17 +20,17 @@ "url": "git://github.com/purescript-contrib/purescript-string-extras.git" }, "dependencies": { - "purescript-strings": "^3.3.1", - "purescript-prelude": "^3.1.0", - "purescript-maybe": "^3.0.0", - "purescript-partial": "^1.2.1", - "purescript-either": "^3.1.0", - "purescript-foldable-traversable": "^3.6.1", - "purescript-unicode": "^3.0.1", - "purescript-arrays": "^4.2.0" + "purescript-strings": "#compiler/0.12", + "purescript-prelude": "#compiler/0.12", + "purescript-maybe": "#compiler/0.12", + "purescript-partial": "#compiler/0.12", + "purescript-either": "#compiler/0.12", + "purescript-foldable-traversable": "#compiler/0.12", + "purescript-unicode": "justinwoo/purescript-unicode#compiler/0.12", + "purescript-arrays": "#compiler/0.12" }, "devDependencies": { - "purescript-assert": "^3.0.0", - "purescript-console": "^3.0.0" + "purescript-assert": "#compiler/0.12", + "purescript-console": "#compiler/0.12" } } diff --git a/test/Main.purs b/test/Main.purs index c8e964f..f4e3ff6 100644 --- a/test/Main.purs +++ b/test/Main.purs @@ -1,12 +1,12 @@ module Test.Main where -import Control.Monad.Eff (Eff) -import Control.Monad.Eff.Console (CONSOLE, log) import Data.String.Extra as String +import Effect (Effect) +import Effect.Console (log) import Prelude (Unit, ($), (==), (*>), discard) -import Test.Assert (ASSERT, assert) +import Test.Assert (assert) -main :: forall eff. Eff (assert :: ASSERT, console :: CONSOLE | eff) Unit +main :: Effect Unit main = do log "camelCase" *> do assert $ String.camelCase "" == ""