Skip to content

Commit ebf39c2

Browse files
authored
Update to v0.14.0-rc3 (#35)
* Update TAG to v0.14.0-rc3; dependencies to master; psa to v0.8.0 * Add kind signatures
1 parent 590d1a5 commit ebf39c2

10 files changed

Lines changed: 19 additions & 11 deletions

File tree

.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-rc3
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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"package.json"
2222
],
2323
"dependencies": {
24-
"purescript-contravariant": "^4.0.0",
25-
"purescript-control": "^4.0.0",
26-
"purescript-distributive": "^4.0.0",
27-
"purescript-either": "^4.0.0",
28-
"purescript-exists": "^4.0.0",
29-
"purescript-invariant": "^4.0.0",
30-
"purescript-newtype": "^3.0.0",
31-
"purescript-prelude": "^4.0.0",
32-
"purescript-tuples": "^5.0.0"
24+
"purescript-contravariant": "master",
25+
"purescript-control": "master",
26+
"purescript-distributive": "master",
27+
"purescript-either": "master",
28+
"purescript-exists": "master",
29+
"purescript-invariant": "master",
30+
"purescript-newtype": "master",
31+
"purescript-prelude": "master",
32+
"purescript-tuples": "master"
3333
}
3434
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"devDependencies": {
88
"pulp": "^15.0.0",
9-
"purescript-psa": "^0.6.0",
9+
"purescript-psa": "^0.8.0",
1010
"rimraf": "^2.6.2"
1111
}
1212
}

src/Data/Profunctor/Clown.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Data.Newtype (class Newtype)
77
import Data.Functor.Contravariant (class Contravariant, cmap)
88

99
-- | Makes a trivial `Profunctor` for a `Contravariant` functor.
10+
newtype Clown :: forall k1 k2. (k1 -> Type) -> k1 -> k2 -> Type
1011
newtype Clown f a b = Clown (f a)
1112

1213
derive instance newtypeClown :: Newtype (Clown f a b) _

src/Data/Profunctor/Costar.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Data.Tuple (Tuple(..), fst, snd)
1919
-- | `Costar` turns a `Functor` into a `Profunctor` "backwards".
2020
-- |
2121
-- | `Costar f` is also the co-Kleisli category for `f`.
22+
newtype Costar :: forall k. (k -> Type) -> k -> Type -> Type
2223
newtype Costar f b a = Costar (f b -> a)
2324

2425
derive instance newtypeCostar :: Newtype (Costar f a b) _

src/Data/Profunctor/Cowrap.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Data.Functor.Contravariant (class Contravariant)
77
import Data.Profunctor (class Profunctor, lcmap)
88

99
-- | Provides a `Contravariant` over the first argument of a `Profunctor`.
10+
newtype Cowrap :: forall k1 k2. (k1 -> k2 -> Type) -> k2 -> k1 -> Type
1011
newtype Cowrap p b a = Cowrap (p a b)
1112

1213
derive instance newtypeCowrap :: Newtype (Cowrap p b a) _

src/Data/Profunctor/Join.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Data.Profunctor (class Profunctor, dimap)
88

99
-- | Turns a `Profunctor` into a `Invariant` functor by equating the two type
1010
-- | arguments.
11+
newtype Join :: forall k. (k -> k -> Type) -> k -> Type
1112
newtype Join p a = Join (p a a)
1213

1314
derive instance newtypeJoin :: Newtype (Join p a) _

src/Data/Profunctor/Joker.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Data.Profunctor (class Profunctor)
88
import Data.Profunctor.Choice (class Choice)
99

1010
-- | Makes a trivial `Profunctor` for a covariant `Functor`.
11+
newtype Joker :: forall k1 k2. (k1 -> Type) -> k2 -> k1 -> Type
1112
newtype Joker f a b = Joker (f b)
1213

1314
derive instance newtypeJoker :: Newtype (Joker f a b) _

src/Data/Profunctor/Star.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import Data.Tuple (Tuple(..))
2121
-- | `Star` turns a `Functor` into a `Profunctor`.
2222
-- |
2323
-- | `Star f` is also the Kleisli category for `f`
24+
newtype Star :: forall k. (k -> Type) -> Type -> k -> Type
2425
newtype Star f a b = Star (a -> f b)
2526

2627
derive instance newtypeStar :: Newtype (Star f a b) _

src/Data/Profunctor/Wrap.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Data.Newtype (class Newtype)
66
import Data.Profunctor (class Profunctor, rmap)
77

88
-- | Provides a `Functor` over the second argument of a `Profunctor`.
9+
newtype Wrap :: forall k1 k2. (k1 -> k2 -> Type) -> k1 -> k2 -> Type
910
newtype Wrap p a b = Wrap (p a b)
1011

1112
derive instance newtypeWrap :: Newtype (Wrap p a b) _

0 commit comments

Comments
 (0)