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

depend on fantasy-combinators #3

Open
stoeffel opened this issue Feb 16, 2016 · 2 comments
Open

depend on fantasy-combinators #3

stoeffel opened this issue Feb 16, 2016 · 2 comments

Comments

@stoeffel
Copy link
Member

^^

@stoeffel
Copy link
Member Author

This will have to wait until fantasy-combinators#v0.0.2 is published to npm. Because substitution has a bug.

// S combinator
function substitution(f) {
    return function(g) {
        return function(x) {
-           f(x)(g(x));
+          return f(x)(g(x));
        };
    };
}

@stoeffel
Copy link
Member Author

I temporary added the dependency directly from github. Can be removed as soon as fantasy-combinators is published.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant