SimonRichardson / squishy-pants

Semi-serious function programming library.
MIT License
5 stars 0 forks source link

Implement Profunctors via dimap #42

Closed SimonRichardson closed 11 years ago

SimonRichardson commented 11 years ago
dimap: function(g, h){
    return compose(compose(h, this), g);
}
SimonRichardson commented 11 years ago

Done.