Skip to content

Commit

Permalink
Merge pull request #10 from berdario/master
Browse files Browse the repository at this point in the history
Upgrade to Purescript 0.11
  • Loading branch information
rgrempel authored Jun 9, 2017
2 parents b8e005d + 0ce468e commit 14f9fdf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
dist: trusty
sudo: true
node_js: 5
node_js: 7
env:
- PATH=./node_modules/.bin:$PATH
install:
Expand Down
15 changes: 7 additions & 8 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@
"output"
],
"dependencies": {
"purescript-prelude": "^2.3.0",
"purescript-generics": "^4.0.0",
"purescript-math": "^2.0.0",
"purescript-globals": "^2.0.0",
"purescript-maybe": "^2.0.1",
"purescript-integers": "^2.1.0",
"purescript-strings": "^2.1.0",
"purescript-generics": "^3.3.0"
"purescript-integers": "^3.0.0"
},
"devDependencies": {
"purescript-test-unit": "^10.1.0",
"purescript-quickcheck-laws": "^2.1.0"
"purescript-console": "^3.0.0",
"purescript-aff": "^3.0.0",
"purescript-random": "^3.0.0",
"purescript-quickcheck-laws": "^3.0.0",
"purescript-test-unit": "^11.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "purescript-int-53",
"dependencies": {},
"devDependencies": {
"pulp": "^10.0.0",
"purescript": "^0.10.5"
"pulp": "^11.0.0",
"purescript": "^0.11.3"
},
"scripts": {
"test": "pulp test"
Expand Down
6 changes: 3 additions & 3 deletions test/Test/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import Prelude
, class CommutativeRing
, class Show, show
, Unit, pure, bind, negate, ($), flip, (+), (*), (-), (>)
, discard
)


Expand All @@ -49,7 +50,7 @@ main :: Eff
, testOutput :: TESTOUTPUT
, random :: RANDOM
, console :: CONSOLE
, err :: EXCEPTION
, exception :: EXCEPTION
) Unit

main = runTest do
Expand Down Expand Up @@ -189,10 +190,9 @@ main = runTest do
checkEq proxyInt53
checkOrd proxyInt53


infixl 9 equals as ==>

equals :: a e. (Eq a, Show a) => a -> a -> Test e
equals :: a e. Eq a => Show a => a -> a -> Test e
equals = flip equal


Expand Down

0 comments on commit 14f9fdf

Please sign in to comment.