[bitc-dev] Application of curry generates some heat
Jeremy Shaw
jeremy at n-heptane.com
Wed Mar 11 22:36:17 EDT 2009
At Wed, 11 Mar 2009 16:09:06 -0400,
Rick R wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; ISO-8859-1 (7bit)>]
> I've never seen it in any other language.
> It was probably created by the camp of lisp-hating functional programmers.
> The ($) function is basically:
> (a -> b) -> a -> b
Just for reference, the complete definition is:
infixr 0 $
($) :: (a -> b) -> a -> b
f $ x = f x
It does not require any special compiler support, which is nice.
- jeremy
More information about the bitc-dev
mailing list