File tree 7 files changed +51
-51
lines changed 7 files changed +51
-51
lines changed Original file line number Diff line number Diff line change 1
- . *
2
- output
3
- bower_components
1
+ /. *
2
+ ! /.gitignore
3
+ ! /.travis.yml
4
+ /bower_components /
5
+ /node_modules /
6
+ /output /
Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ sudo : false
3
+ node_js : 5
4
+ install :
5
+ - npm install
6
+ - npm install -g bower
7
+ - bower install
8
+ script :
9
+ - npm test
10
+ after_success :
11
+ - >-
12
+ test $TRAVIS_TAG &&
13
+ node_modules/.bin/psc-publish > .pursuit.json &&
14
+ curl -X POST http://pursuit.purescript.org/packages \
15
+ -d @.pursuit.json \
16
+ -H 'Accept: application/json' \
17
+ -H "Authorization: token ${GITHUB_TOKEN}"
Original file line number Diff line number Diff line change 1
1
# purescript-aff-coroutines
2
2
3
3
[ ![ Latest release] ( http://img.shields.io/bower/v/purescript-aff-coroutines.svg )] ( https://github.com/purescript-contrib/purescript-aff-coroutines/releases )
4
+ [ ![ Build Status] ( https://travis-ci.org/purescript-contrib/purescript-aff-coroutines.svg?branch=master )] ( https://travis-ci.org/purescript-contrib/purescript-aff-coroutines )
5
+ [ ![ Dependency Status] ( https://www.versioneye.com/user/projects/56e03527df573d0048dafe7e/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/56e03527df573d0048dafe7e )
4
6
[ ![ Maintainer: paf31] ( https://img.shields.io/badge/maintainer-paf31-lightgrey.svg )] ( http://github.com/paf31 )
5
7
6
- Helper functions for creating coroutines with the Aff monad
8
+ Helper functions for creating coroutines with the Aff monad.
7
9
8
- - [ Module Documentation] ( docs/Control/Coroutine/Aff.md )
9
- - [ Example] ( test/Main.purs )
10
+ ## Getting started
10
11
11
- ## Usage
12
+ ``` purescript
13
+ bower install purescript-aff-coroutines
14
+ ```
12
15
13
- bower i purescript-aff-coroutines
16
+ [ See the tests] ( https://github.com/purescript-contrib/purescript-aff-coroutines/blob/master/test/Main.purs ) for some example usages.
17
+
18
+ ## Module documentation
19
+
20
+ Module documentation is [ published on Pursuit] ( http://pursuit.purescript.org/packages/purescript-aff-coroutines ) .
Original file line number Diff line number Diff line change 11
11
],
12
12
"repository" : {
13
13
"type" : " git" ,
14
- "url" : " git://github.com/paf31 /purescript-aff-coroutines.git"
14
+ "url" : " git://github.com/purescript-contrib /purescript-aff-coroutines.git"
15
15
},
16
16
"dependencies" : {
17
- "purescript-aff" : " ^0.14.1 " ,
17
+ "purescript-aff" : " ^0.16.0 " ,
18
18
"purescript-coroutines" : " ^0.5.0"
19
19
}
20
20
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {
2
+ "private" : true ,
3
+ "scripts" : {
4
+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5
+ "build" : " pulp build" ,
6
+ "test" : " pulp test"
7
+ },
8
+ "devDependencies" : {
9
+ "pulp" : " ^8.1.0" ,
10
+ "purescript" : " ^0.7.6" ,
11
+ "rimraf" : " ^2.5.2"
12
+ }
13
+ }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ produce recv = hoistFreeT liftAff do
47
47
-- | `MonadAff`, rather than `Aff` specifically.
48
48
produce'
49
49
:: forall a r m eff
50
- . (Monad m , MonadAff (avar :: AVAR | eff ) m )
50
+ . (MonadAff (avar :: AVAR | eff ) m )
51
51
=> ((Either a r -> Eff (avar :: AVAR | eff ) Unit ) -> Eff (avar :: AVAR | eff ) Unit )
52
52
-> Producer a m r
53
53
produce' = hoistFreeT liftAff <<< produce
You can’t perform that action at this time.
0 commit comments