diff --git a/.travis.yml b/.travis.yml index 7399e47..d79859a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ node_js: stable env: - PATH=$HOME/purescript:$PATH install: - - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest)) + # - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest)) + - TAG=v0.14.0-rc3 - curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz - tar -xvf $HOME/purescript.tar.gz -C $HOME/ - chmod a+x $HOME/purescript diff --git a/bower.json b/bower.json index 3411e77..405fc93 100644 --- a/bower.json +++ b/bower.json @@ -20,9 +20,9 @@ "package.json" ], "dependencies": { - "purescript-control": "^4.0.0", - "purescript-foldable-traversable": "^4.0.0", - "purescript-invariant": "^4.0.0", - "purescript-prelude": "^4.0.0" + "purescript-control": "master", + "purescript-foldable-traversable": "master", + "purescript-invariant": "master", + "purescript-prelude": "master" } } diff --git a/package.json b/package.json index bf1e132..9452364 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "devDependencies": { "eslint": "^4.19.1", "pulp": "^15.0.0", - "purescript-psa": "^0.6.0", + "purescript-psa": "^0.8.0", "rimraf": "^2.6.2" } } diff --git a/src/Data/Lazy.purs b/src/Data/Lazy.purs index cdc4b4b..2fa336b 100644 --- a/src/Data/Lazy.purs +++ b/src/Data/Lazy.purs @@ -29,6 +29,8 @@ import Data.TraversableWithIndex (class TraversableWithIndex) -- | `Lazy` values can be evaluated by using the `force` function. foreign import data Lazy :: Type -> Type +type role Lazy representational + -- | Defer a computation, creating a `Lazy` value. foreign import defer :: forall a. (Unit -> a) -> Lazy a