Skip to content

Commit 8ab49d5

Browse files
JordanMartinezkl0tltriallax
authored
Updates library to v0.14.0-rc2 (#29)
* Add roles declarations to allow safe coercions * Remove `return {}` from FFI function (#27) * Update deps to master * Update travis tag to v0.14.0-rc2 * Update purescript-psa to v0.8.0 Co-authored-by: Cyril Sobierajewicz <sobierajewicz.cyril@gmail.com> Co-authored-by: Mohammed Anas <6daf084a-8eaf-40fb-86c7-8500077c3b69@anonaddy.me>
1 parent 03c8914 commit 8ab49d5

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
8-
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
8+
# - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
9+
- TAG=v0.14.0-rc2
910
- curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1011
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1112
- chmod a+x $HOME/purescript

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"package.json"
1717
],
1818
"dependencies": {
19-
"purescript-effect": "^2.0.0",
20-
"purescript-prelude": "^4.0.0"
19+
"purescript-effect": "master",
20+
"purescript-prelude": "master"
2121
},
2222
"devDependencies": {
23-
"purescript-assert": "^4.0.0"
23+
"purescript-assert": "master"
2424
}
2525
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"devDependencies": {
99
"eslint": "^4.19.1",
1010
"pulp": "^15.0.0",
11-
"purescript-psa": "^0.6.0",
11+
"purescript-psa": "^0.8.0",
1212
"rimraf": "^2.6.2"
1313
}
1414
}

src/Effect/Ref.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import Effect (Effect)
2020
-- | which holds a value of type `a`.
2121
foreign import data Ref :: Type -> Type
2222

23+
type role Ref representational
24+
2325
-- | Create a new mutable reference containing the specified value.
2426
foreign import new :: forall s. s -> Effect (Ref s)
2527

0 commit comments

Comments
 (0)