Skip to content

Instantly share code, notes, and snippets.

@fredrick fredrick/drive.js

Created Feb 11, 2012
What would you like to do?
Prototype monads/currying
function In(drive) { = drive;
function Within(path) {
this.path = path;
In.prototype.within = function(path) {
var within = new Within(path); =;
return within;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.