Skip to content

Commit

Permalink
Updates for PureScript 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Nov 4, 2016
1 parent bbbf82f commit ba15167
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"output"
],
"dependencies": {
"purescript-strings": "^1.0.0",
"purescript-free": "^1.0.0",
"purescript-transformers": "^1.0.0",
"purescript-tuples": "^1.0.0"
"purescript-strings": "^2.0.0",
"purescript-free": "^3.0.0",
"purescript-transformers": "^2.0.0",
"purescript-tuples": "^3.0.0"
},
"devDependencies": {
"purescript-test-unit": "^7.0.0"
"purescript-test-unit": "^10.0.0"
}
}
5 changes: 2 additions & 3 deletions src/Data/String/VerEx.purs
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ module Data.String.VerEx

import Prelude hiding (add)

import Control.Apply ((<*), (*>))
import Control.Monad.Free (Free(), liftF, foldFree)
import Control.Monad.State (State(), modify, get, put, runState)

import Data.Array (index)
import Data.Functor ((<$))
import Data.Maybe (Maybe())
import Data.Either (fromRight)
import Partial.Unsafe (unsafePartial)
import Data.String.Regex as R
import Data.String.Regex (Regex, match, replace, test, source, parseFlags, regex) as R
import Data.String.Regex.Flags (RegexFlags) as R
import Data.Tuple (fst, snd)

newtype CaptureGroup = CaptureGroup Int
Expand Down
4 changes: 2 additions & 2 deletions test/Main.purs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Test.Main where

import Prelude
import Control.Apply ((*>))
import Data.Maybe (Maybe(..))

import Control.Monad.Eff (Eff)
import Control.Monad.Aff.AVar (AVAR)
import Control.Monad.Eff.Console (CONSOLE)

import Test.Unit as Unit
Expand Down Expand Up @@ -42,7 +42,7 @@ number = do
some digit
endOfLine

main :: Eff (console :: CONSOLE, testOutput :: TESTOUTPUT) Unit
main :: Eff (console :: CONSOLE, testOutput :: TESTOUTPUT, avar :: AVAR) Unit
main = runTest do
Unit.test "URL VerEx" do
let isUrl = test url
Expand Down

0 comments on commit ba15167

Please sign in to comment.