Skip to content

Commit b202a95

Browse files
committed
Merge pull request #5 from purescript-contrib/updates
Update strongcheck dependency, fix warning
2 parents 7899b79 + 413eadd commit b202a95

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ language: node_js
22
sudo: false
33
node_js:
44
- 0.10
5-
env:
6-
- PATH=$HOME/purescript:$PATH
75
install:
8-
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9-
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10-
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11-
- chmod a+x $HOME/purescript
126
- npm install bower gulp -g
137
- npm install
148
- bower install --production

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"purescript-maps": "^0.5.0"
2424
},
2525
"devDependencies": {
26-
"purescript-strongcheck": "^0.12.0"
26+
"purescript-strongcheck": "^0.14.0"
2727
}
2828
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"license": "MIT",
55
"devDependencies": {
66
"gulp": "^3.9.0",
7-
"gulp-purescript": "^0.5.0",
8-
"gulp-run": "^1.6.8"
7+
"gulp-purescript": "^0.7.0",
8+
"gulp-run": "^1.6.8",
9+
"purescript": "^0.7.4"
910
}
1011
}

src/Data/Argonaut/Core.purs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Data.Argonaut.Core
1+
module Data.Argonaut.Core
22
( Json(..)
33
, JNull(..)
44
, JBoolean(..)
@@ -85,10 +85,10 @@ foldJsonObject :: forall a. a -> (JObject -> a) -> Json -> a
8585
foldJsonObject d f j = runFn7 _foldJson (const d) (const d) (const d) (const d) (const d) f j
8686

8787
verbJsonType :: forall a b. b -> (a -> b) -> (b -> (a -> b) -> Json -> b) -> Json -> b
88-
verbJsonType def f fold = fold def f
88+
verbJsonType def f fold = fold def f
8989

9090

91-
-- Tests
91+
-- Tests
9292
isJsonType :: forall a. (Boolean -> (a -> Boolean) -> Json -> Boolean) ->
9393
Json -> Boolean
9494
isJsonType = verbJsonType false (const true)
@@ -113,7 +113,7 @@ isObject = isJsonType foldJsonObject
113113

114114
-- Decoding
115115

116-
toJsonType :: forall a b. (Maybe a -> (a -> Maybe a) -> Json -> Maybe a) ->
116+
toJsonType :: forall a. (Maybe a -> (a -> Maybe a) -> Json -> Maybe a) ->
117117
Json -> Maybe a
118118
toJsonType = verbJsonType Nothing Just
119119

@@ -189,7 +189,7 @@ instance ordJson :: Ord Json where
189189
compare a b = runFn5 _compare EQ GT LT a b
190190

191191
instance showJson :: Show Json where
192-
show = _stringify
192+
show = _stringify
193193

194194
-- Foreigns
195195

0 commit comments

Comments
 (0)