Skip to content

Commit aa6dddd

Browse files
authored
Merge pull request #4 from purescript/ps-0.11
Update for PureScript 0.11
2 parents a8416e9 + a847b22 commit aa6dddd

File tree

7 files changed

+10
-51
lines changed

7 files changed

+10
-51
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/.*
22
!/.gitignore
3-
!/.jscsrc
4-
!/.jshintrc
53
!/.travis.yml
64
/bower_components/
75
/node_modules/

.jscsrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.jshintrc

Lines changed: 0 additions & 20 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js: 6
4+
node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-unsafe-coerce": "^2.0.0"
20+
"purescript-unsafe-coerce": "^3.0.0"
2121
},
2222
"devDependencies": {
23-
"purescript-console": "^2.0.0"
23+
"purescript-console": "^3.0.0"
2424
}
2525
}

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "jshint src && jscs src && psa \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" --censor-lib --strict",
6-
"test": "psc \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" \"test/**/*.purs\" && psc-bundle \"output/**/*.js\" --module Test.Main --main Test.Main | node"
5+
"build": "pulp build -- --censor-lib --strict",
6+
"test": "pulp test"
77
},
88
"devDependencies": {
9-
"jscs": "^2.8.0",
10-
"jshint": "^2.9.1",
11-
"pulp": "^8.2.0",
12-
"purescript-psa": "^0.3.8",
13-
"rimraf": "^2.5.0"
9+
"pulp": "^10.0.4",
10+
"purescript-psa": "^0.5.0-rc.1",
11+
"rimraf": "^2.6.1"
1412
}
1513
}

src/Data/Exists.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Data.Exists where
22

33
import Unsafe.Coerce (unsafeCoerce)
44

5-
-- | This type constructor can be used to existentially quantify over a type of kind `*`.
5+
-- | This type constructor can be used to existentially quantify over a type of kind `Type`.
66
-- |
77
-- | Specifically, the type `Exists f` is isomorphic to the existential type `exists a. f a`.
88
-- |
@@ -24,7 +24,7 @@ import Unsafe.Coerce (unsafeCoerce)
2424
-- | ```purescript
2525
-- | type Stream a = Exists (StreamF a)
2626
-- | ```
27-
foreign import data Exists :: (* -> *) -> *
27+
foreign import data Exists :: (Type -> Type) -> Type
2828

2929
-- | The `mkExists` function is used to introduce a value of type `Exists f`, by providing a value of
3030
-- | type `f a`, for some type `a` which will be hidden in the existentially-quantified type.

0 commit comments

Comments
 (0)