News for hackers. Stuff that matters.
Re:Contracts For CoffeeScript by dherman on Tuesday August 30, 2011 @10:32AM (#2941578)
No ambiguity; if you put brackets around it you get a tuple (really, an array of fixed elements), and without brackets, the comma is part of the function signature. If you wanted to express your interpretation #1 you'd write:

    f :: ((Num) -> [Bool, Num]) -> Bool
Dave

There are no comments on this comment yet.