Skip to content

Commit e38fae6

Browse files
committed
Update build
1 parent b95a6a9 commit e38fae6

14 files changed

Lines changed: 33 additions & 68 deletions

File tree

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
2+
sudo: false
23
node_js:
34
- 0.10
45
env:
@@ -8,7 +9,6 @@ install:
89
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
910
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1011
- chmod a+x $HOME/purescript
11-
- npm install bower gulp -g
12-
- npm install && bower install
12+
- npm install
1313
script:
14-
- gulp
14+
- npm run build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# purescript-bifunctors
22

3+
[![Latest release](http://img.shields.io/bower/v/purescript-bifunctors.svg)](https://github.com/purescript/purescript-bifunctors/releases)
34
[![Build Status](https://travis-ci.org/purescript/purescript-bifunctors.svg?branch=master)](https://travis-ci.org/purescript/purescript-bifunctors)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/55848c8136386100150003ef/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55848c8136386100150003ef)
46

57
Bifunctors and biapplicatives.
68

bower.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"output",
2525
"test",
2626
"bower.json",
27-
"gulpfile.js",
2827
"package.json"
2928
],
3029
"dependencies": {
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
(<<$>>) :: forall a b. (a -> b) -> a -> b
77
```
88

9+
_left-associative / precedence 4_
10+
911
A convenience function which can be used to apply the result of `bipure` in
1012
the style of `Applicative`:
1113

@@ -29,6 +31,8 @@ functions of one or more arguments, in the sense of `Apply`.
2931
(<<*>>) :: forall w a b c d. (Biapply w) => w (a -> b) (c -> d) -> w a c -> w b d
3032
```
3133

34+
_left-associative / precedence 4_
35+
3236
An infix version of `biapply`.
3337

3438
#### `(*>>)`
@@ -37,6 +41,8 @@ An infix version of `biapply`.
3741
(*>>) :: forall w a b c d. (Biapply w) => w a b -> w c d -> w c d
3842
```
3943

44+
_left-associative / precedence 4_
45+
4046
Keep the results of the second computation
4147

4248
#### `(<<*)`
@@ -45,6 +51,8 @@ Keep the results of the second computation
4551
(<<*) :: forall w a b c d. (Biapply w) => w a b -> w c d -> w a b
4652
```
4753

54+
_left-associative / precedence 4_
55+
4856
Keep the results of the first computation
4957

5058
#### `bilift2`
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ data Clown f a b
77
= Clown (f a)
88
```
99

10+
Make a `Functor` over the first argument of a `Bifunctor`
11+
1012
##### Instances
1113
``` purescript
1214
instance clownBifunctor :: (Functor f) => Bifunctor (Clown f)
@@ -15,8 +17,6 @@ instance clownBiapply :: (Apply f) => Biapply (Clown f)
1517
instance clownBiapplicative :: (Applicative f) => Biapplicative (Clown f)
1618
```
1719

18-
Make a `Functor` over the first argument of a `Bifunctor`
19-
2020
#### `runClown`
2121

2222
``` purescript
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ data Flip p a b
77
= Flip (p b a)
88
```
99

10+
Flips the order of the type arguments of a `Bifunctor`.
11+
1012
##### Instances
1113
``` purescript
1214
instance flipBifunctor :: (Bifunctor p) => Bifunctor (Flip p)
@@ -15,8 +17,6 @@ instance flipBiapply :: (Biapply p) => Biapply (Flip p)
1517
instance flipBiapplicative :: (Biapplicative p) => Biapplicative (Flip p)
1618
```
1719

18-
Flips the order of the type arguments of a `Bifunctor`.
19-
2020
#### `runFlip`
2121

2222
``` purescript
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ data Join p a
77
= Join (p a a)
88
```
99

10+
`Join` turns a `Bifunctor` into a `Functor` by equating the
11+
two type arguments.
12+
1013
##### Instances
1114
``` purescript
1215
instance joinFunctor :: (Bifunctor p) => Functor (Join p)
1316
instance joinApply :: (Biapply p) => Apply (Join p)
1417
instance joinApplicative :: (Biapplicative p) => Applicative (Join p)
1518
```
1619

17-
`Join` turns a `Bifunctor` into a `Functor` by equating the
18-
two type arguments.
19-
2020
#### `runJoin`
2121

2222
``` purescript
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ data Joker g a b
77
= Joker (g b)
88
```
99

10+
Make a `Functor` over the second argument of a `Bifunctor`
11+
1012
##### Instances
1113
``` purescript
1214
instance jokerBifunctor :: (Functor g) => Bifunctor (Joker g)
@@ -15,8 +17,6 @@ instance jokerBiapply :: (Apply g) => Biapply (Joker g)
1517
instance jokerBiapplicative :: (Applicative g) => Biapplicative (Joker g)
1618
```
1719

18-
Make a `Functor` over the second argument of a `Bifunctor`
19-
2020
#### `runJoker`
2121

2222
``` purescript

0 commit comments

Comments
 (0)