Nice TWiki > Dev > PartialApplicationSyntax (r1.12 vs. r1.13) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Dev . { Changes | Index | Search | Go }
 <<O>>  Difference Topic PartialApplicationSyntax (r1.13 - 03 Feb 2004 - BrynKeller)
Added:
>
>

I think I objected to this suggestion a while ago, because things could get confusing with anonymous functions:

[ `+`, `*`, `-`, `/`].map( (int,int) -> int func -> func(4,5));

but on the whole I'm not really convinced of this danger anymore, and parentheses can always be used if clarification is necessary. I'd go along with getting rid of => for functions.

-- BrynKeller - 03 Feb 2004


Topic PartialApplicationSyntax . { View | Diffs | r1.14 | > | r1.13 | > | r1.12 | More }
Revision r1.12 - 02 Feb 2004 - 21:51 GMT - DanielBonniot
Revision r1.13 - 03 Feb 2004 - 22:34 GMT - BrynKeller
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.