Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Update dependencies, build, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Apr 19, 2015
1 parent b0303e0 commit afc8977
Show file tree
Hide file tree
Showing 10 changed files with 218 additions and 182 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ install:
- wget -O $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
- npm install bower grunt-cli -g
- npm install
- bower install
- npm install bower gulp -g
- npm install && bower install
script:
- grunt
- gulp
30 changes: 0 additions & 30 deletions Gruntfile.js

This file was deleted.

17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
purescript-arrows
=================
# purescript-arrows

[![Build Status](https://travis-ci.org/purescript-contrib/purescript-arrows.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-arrows)

Type classes for Arrows.
Typeclasses for arrows.

- [Module documentation](docs/Module.md)
## Installation

```
bower install purescript-arrows
```

## Module documentation

- [Control.Arrow](docs/Control.Arrow.md)
- [Control.Arrow.Kleisli](docs/Control.Arrow.Kleisli.md)
- [Control.Arrow.Cokleisli](docs/Control.Arrow.Cokleisli.md)
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"package.json"
],
"dependencies": {
"purescript-tuples": "~0.3.0",
"purescript-profunctor": "~0.2.0"
"purescript-profunctor": "~0.3.0"
}
}
56 changes: 56 additions & 0 deletions docs/Control.Arrow.Cokleisli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Module Documentation

## Module Control.Arrow.Cokleisli

#### `Cokleisli`

``` purescript
newtype Cokleisli w a b
= Cokleisli (w a -> b)
```


#### `runCokleisli`

``` purescript
runCokleisli :: forall w a b. Cokleisli w a b -> w a -> b
```


#### `semigroupoidCokleisli`

``` purescript
instance semigroupoidCokleisli :: (Extend m) => Semigroupoid (Cokleisli m)
```


#### `categoryCokleisli`

``` purescript
instance categoryCokleisli :: (Comonad m) => Category (Cokleisli m)
```


#### `profunctorCokleisli`

``` purescript
instance profunctorCokleisli :: (Functor f) => Profunctor (Cokleisli f)
```


#### `strongCokleisli`

``` purescript
instance strongCokleisli :: (Comonad m) => Strong (Cokleisli m)
```


#### `arrowCokleisli`

``` purescript
instance arrowCokleisli :: (Comonad m) => Arrow (Cokleisli m)
```




56 changes: 56 additions & 0 deletions docs/Control.Arrow.Kleisli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Module Documentation

## Module Control.Arrow.Kleisli

#### `Kleisli`

``` purescript
newtype Kleisli m a b
= Kleisli (a -> m b)
```


#### `runKleisli`

``` purescript
runKleisli :: forall m a b. Kleisli m a b -> a -> m b
```


#### `semigroupoidKleisli`

``` purescript
instance semigroupoidKleisli :: (Monad m) => Semigroupoid (Kleisli m)
```


#### `categoryKleisli`

``` purescript
instance categoryKleisli :: (Monad m) => Category (Kleisli m)
```


#### `profunctorKleisli`

``` purescript
instance profunctorKleisli :: (Functor f) => Profunctor (Kleisli f)
```


#### `strongKleisli`

``` purescript
instance strongKleisli :: (Monad m) => Strong (Kleisli m)
```


#### `arrowKleisli`

``` purescript
instance arrowKleisli :: (Monad m) => Arrow (Kleisli m)
```




36 changes: 36 additions & 0 deletions docs/Control.Arrow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Module Documentation

## Module Control.Arrow

#### `Arrow`

``` purescript
class (Category a, Strong a) <= Arrow a where
```


#### `arrowFunction`

``` purescript
instance arrowFunction :: Arrow Prim.Function
```


#### `ArrowZero`

``` purescript
class ArrowZero a where
azero :: forall b c. a b c
```


#### `ArrowPlus`

``` purescript
class ArrowPlus a where
(<+>) :: forall b c. a b c -> a b c -> a b c
```




138 changes: 0 additions & 138 deletions docs/Module.md

This file was deleted.

Loading

0 comments on commit afc8977

Please sign in to comment.