Skip to content

Commit

Permalink
Merge pull request #62 from purescript/unused-imports
Browse files Browse the repository at this point in the history
Remove unused imports and qualify external imports
  • Loading branch information
garyb committed Mar 27, 2016
2 parents 1477220 + d495a72 commit b77bce1
Show file tree
Hide file tree
Showing 72 changed files with 641 additions and 2,307 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/bower_components/
/node_modules/
/output/
/tmp/
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
language: node_js
sudo: false
node_js:
- 0.10
sudo: required
dist: trusty
node_js: 5
env:
- PATH=$HOME/purescript:$PATH
install:
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
- 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 -g bower
- npm install
- bower install
script:
- npm run build
after_success:
- >-
test $TRAVIS_TAG &&
psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"
70 changes: 6 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,70 +6,12 @@

Monad and comonad transformers based on [mtl](http://hackage.haskell.org/package/mtl).

- [Examples](test/Example/)
## Installation

## Documentation

- [Control.Monad.Trans](docs/Control/Monad/Trans.md)
- [Control.Comonad.Trans](docs/Control/Comonad/Trans.md)

### Monad Transformers

#### Continuations

- [Control.Monad.Cont.Class](docs/Control/Monad/Cont/Class.md)
- [Control.Monad.Cont.Trans](docs/Control/Monad/Cont/Trans.md)

#### Error handling

- [Control.Monad.Except](docs/Control/Monad/Except.md)
- [Control.Monad.Except.Trans](docs/Control/Monad/Except/Trans.md)
- [Control.Monad.Maybe.Trans](docs/Control/Monad/Maybe/Trans.md)

#### Nondeterminism

- [Control.Monad.List.Trans](docs/Control/Monad/List/Trans.md)

#### Reader

- [Control.Monad.Reader](docs/Control/Monad/Reader.md)
- [Control.Monad.Reader.Class](docs/Control/Monad/Reader/Class.md)
- [Control.Monad.Reader.Trans](docs/Control/Monad/Reader/Trans.md)

#### Writer
```
bower install purescript-console
```

- [Control.Monad.Writer](docs/Control/Monad/Writer.md)
- [Control.Monad.Writer.Class](docs/Control/Monad/Writer/Class.md)
- [Control.Monad.Writer.Trans](docs/Control/Monad/Writer/Trans.md)

#### State

- [Control.Monad.State](docs/Control/Monad/State.md)
- [Control.Monad.State.Class](docs/Control/Monad/State/Class.md)
- [Control.Monad.State.Trans](docs/Control/Monad/State/Trans.md)

#### Reader/Writer/State

- [Control.Monad.RWS](docs/Control/Monad/RWS.md)
- [Control.Monad.RWS.Class](docs/Control/Monad/RWS/Class.md)
- [Control.Monad.RWS.Trans](docs/Control/Monad/RWS/Trans.md)

### Comonad Transformers

#### Environment (or "co-Reader")

- [Control.Comonad.Env](docs/Control/Comonad/Env.md)
- [Control.Comonad.Env.Class](docs/Control/Comonad/Env/Class.md)
- [Control.Comonad.Env.Trans](docs/Control/Comonad/Env/Trans.md)

#### Store (or "co-State")

- [Control.Comonad.Store](docs/Control/Comonad/Store.md)
- [Control.Comonad.Store.Class](docs/Control/Comonad/Store/Class.md)
- [Control.Comonad.Store.Trans](docs/Control/Comonad/Store/Trans.md)

#### Traced (or "co-Writer")
## Documentation

- [Control.Comonad.Traced](docs/Control/Comonad/Traced.md)
- [Control.Comonad.Traced.Class](docs/Control/Comonad/Traced/Class.md)
- [Control.Comonad.Traced.Trans](docs/Control/Comonad/Traced/Trans.md)
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-transformers).
16 changes: 5 additions & 11 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
"name": "purescript-transformers",
"homepage": "https://github.com/purescript/purescript-transformers",
"description": "PureScript monad and comonad transformers library",
"keywords": [
"purescript",
"monad",
"comonad",
"transformer"
],
"authors": [
"Gary Burgess <[email protected]>",
"Hardy Jones <[email protected]>",
Expand All @@ -30,12 +24,12 @@
"package.json"
],
"dependencies": {
"purescript-distributive": "^0.5.0",
"purescript-lazy": "^0.4.0",
"purescript-tailrec": "^0.3.0",
"purescript-unfoldable": "^0.4.0"
"purescript-distributive": "^1.0.0-rc.1",
"purescript-lazy": "^1.0.0-rc.1",
"purescript-tailrec": "^1.0.0-rc.1",
"purescript-unfoldable": "^1.0.0-rc.1"
},
"devDependencies": {
"purescript-console": "^0.1.0"
"purescript-console": "^1.0.0-rc.1"
}
}
46 changes: 0 additions & 46 deletions docs/Control/Comonad/Env.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/Control/Comonad/Env/Class.md

This file was deleted.

51 changes: 0 additions & 51 deletions docs/Control/Comonad/Env/Trans.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/Control/Comonad/Store.md

This file was deleted.

70 changes: 0 additions & 70 deletions docs/Control/Comonad/Store/Class.md

This file was deleted.

Loading

0 comments on commit b77bce1

Please sign in to comment.