Skip to content

Commit 6ac33b6

Browse files
committed
Update build
1 parent 12e6283 commit 6ac33b6

File tree

16 files changed

+46
-91
lines changed

16 files changed

+46
-91
lines changed

.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: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# purescript-control
22

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

57
This library provides a range of utility functions for the classes in the `Functor`, `Applicative`, `Monad` hierarchy, along with additional classes such as `Alternative`, `MonadPlus`, `Comonad` and `Lazy`.
68

@@ -17,22 +19,22 @@ bower install purescript-control
1719
## Module documentation
1820

1921
### Functor/Applicative
20-
- [Data.Functor](docs/Data.Functor.md)
21-
- [Control.Apply](docs/Control.Apply.md)
22+
- [Data.Functor](docs/Data/Functor.md)
23+
- [Control.Apply](docs/Control/Apply.md)
2224

2325
### Monad
24-
- [Control.Bind](docs/Control.Bind.md)
25-
- [Control.Monad](docs/Control.Monad.md)
26+
- [Control.Bind](docs/Control/Bind.md)
27+
- [Control.Monad](docs/Control/Monad.md)
2628

2729
### Alternative/MonadPlus
28-
- [Control.Alt](docs/Control.Alt.md)
29-
- [Control.Plus](docs/Control.Plus.md)
30-
- [Control.Alternative](docs/Control.Alternative.md)
31-
- [Control.MonadPlus](docs/Control.MonadPlus.md)
30+
- [Control.Alt](docs/Control/Alt.md)
31+
- [Control.Plus](docs/Control/Plus.md)
32+
- [Control.Alternative](docs/Control/Alternative.md)
33+
- [Control.MonadPlus](docs/Control/MonadPlus.md)
3234

3335
### Comonads
34-
- [Control.Extend](docs/Control.Extend.md)
35-
- [Control.Comonad](docs/Control.Comonad.md)
36+
- [Control.Extend](docs/Control/Extend.md)
37+
- [Control.Comonad](docs/Control/Comonad.md)
3638

3739
### Lazy
38-
- [Control.Lazy](docs/Control.Lazy.md)
40+
- [Control.Lazy](docs/Control/Lazy.md)

docs/Control.Functor.md

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

docs/Control.Alt.md renamed to docs/Control/Alt.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ instance altArray :: Alt Array
3333
(<|>) :: forall f a. (Alt f) => f a -> f a -> f a
3434
```
3535

36+
_left-associative / precedence 3_
37+
3638
An infix version of `alt`.
3739

3840

File renamed without changes.

docs/Control.Apply.md renamed to docs/Control/Apply.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This module defines helper functions for working with `Apply` instances.
88
(<*) :: forall a b f. (Apply f) => f a -> f b -> f a
99
```
1010

11+
_left-associative / precedence 4_
12+
1113
Combine two effectful actions, keeping only the result of the first.
1214

1315
#### `(*>)`
@@ -16,6 +18,8 @@ Combine two effectful actions, keeping only the result of the first.
1618
(*>) :: forall a b f. (Apply f) => f a -> f b -> f b
1719
```
1820

21+
_left-associative / precedence 4_
22+
1923
Combine two effectful actions, keeping only the result of the second.
2024

2125
#### `lift2`

docs/Control.Bind.md renamed to docs/Control/Bind.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This module defines helper functions for working with `Bind` instances.
88
(=<<) :: forall a b m. (Bind m) => (a -> m b) -> m a -> m b
99
```
1010

11+
_right-associative / precedence 1_
12+
1113
A version of `(>>=)` with its arguments flipped.
1214

1315
#### `(>=>)`
@@ -16,6 +18,8 @@ A version of `(>>=)` with its arguments flipped.
1618
(>=>) :: forall a b c m. (Bind m) => (a -> m b) -> (b -> m c) -> a -> m c
1719
```
1820

21+
_right-associative / precedence 1_
22+
1923
Forwards Kleisli composition.
2024

2125
For example:
@@ -32,6 +36,8 @@ third = tail >=> tail >=> head
3236
(<=<) :: forall a b c m. (Bind m) => (b -> m c) -> (a -> m b) -> a -> m c
3337
```
3438

39+
_right-associative / precedence 1_
40+
3541
Backwards Kleisli composition.
3642

3743
#### `join`
File renamed without changes.

docs/Control.Extend.md renamed to docs/Control/Extend.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ instance extendFn :: (Semigroup w) => Extend (Function w)
3131
(<<=) :: forall w a b. (Extend w) => (w a -> b) -> w a -> w b
3232
```
3333

34+
_right-associative / precedence 1_
35+
3436
An infix version of `extend`
3537

3638
#### `(=>>)`
@@ -39,6 +41,8 @@ An infix version of `extend`
3941
(=>>) :: forall b a w. (Extend w) => w a -> (w a -> b) -> w b
4042
```
4143

44+
_left-associative / precedence 1_
45+
4246
A version of `(<<=)` with its arguments flipped.
4347

4448
#### `(=>=)`
@@ -47,6 +51,8 @@ A version of `(<<=)` with its arguments flipped.
4751
(=>=) :: forall b a w c. (Extend w) => (w a -> b) -> (w b -> c) -> w a -> c
4852
```
4953

54+
_right-associative / precedence 1_
55+
5056
Forwards co-Kleisli composition.
5157

5258
#### `(=<=)`
@@ -55,6 +61,8 @@ Forwards co-Kleisli composition.
5561
(=<=) :: forall b a w c. (Extend w) => (w b -> c) -> (w a -> b) -> w a -> c
5662
```
5763

64+
_right-associative / precedence 1_
65+
5866
Backwards co-Kleisli composition.
5967

6068
#### `duplicate`
File renamed without changes.

0 commit comments

Comments
 (0)