Skip to content

Commit

Permalink
Merge branch 'v1'
Browse files Browse the repository at this point in the history
davidchambers committed Dec 27, 2016
2 parents 294398b + dfa9f25 commit 032d4a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1243,8 +1243,8 @@
//. > chain(n => s => s.slice(0, n), s => Math.ceil(s.length / 2))('Haskell')
//. 'Hask'
//. ```
function chain(f, chain) {
return Chain.methods.chain(chain)(f);
function chain(f, chain_) {
return Chain.methods.chain(chain_)(f);
}

//# join :: Chain m => m (m a) -> m a
@@ -1443,8 +1443,8 @@
//. > extend(xs => xs.length, ['foo', 'bar', 'baz', 'quux'])
//. [4]
//. ```
function extend(f, extend) {
return Extend.methods.extend(extend)(f);
function extend(f, extend_) {
return Extend.methods.extend(extend_)(f);
}

//# extract :: Comonad w => w a -> a

0 comments on commit 032d4a4

Please sign in to comment.