News for hackers. Stuff that matters.
Re:Fun.js – Just a sketch by thepicard on Thursday June 06, 2013 @07:01PM (#5835797)
Actually, I think the original intent regarding greater than was:

    greaterThan(100, 5);
    //=> true
That is, l is greater than r, and to then properly curry the arguments do need to be flipped such that maybeGT(5) results in a function that returns whether the argument is greater than 5.
Re:Fun.js – Just a sketch by fogus on Thursday June 06, 2013 @07:19PM (#5835907)
Exactly right. We like to be able to do something like:

    var gtThreshold = gt(100);
And then:

    filter(gtThreshold, array);
This is nicely fluent I would say.