[bitc-dev] Application of curry generates some heat
Rick R
rick.richardson at gmail.com
Wed Mar 11 16:09:06 EDT 2009
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
It certainly takes a lot of work off of the parenthesis matcher in my IDE.
On Wed, Mar 11, 2009 at 3:56 PM, Ian P. Cardenas <ipc at srand.net> wrote:
>
> On Mar 11, 2009, at 14:44 , Rick R wrote:
> > actually, I was confused below.
> > in the case of
> > f a g b
> > f a (g b) is required,
> > or f a $ g b
> > where $ is the death-to-parens infix operator, which has a
> > precedence of 0.
>
> I've never seen a language use an infix operator like that; that's
> fairly useful.
> Are there other languages that have it?
>
> Personally, I can't read 'f a b c' as anything other than ' ((f a) b)
> c)'.
>
> -ipc
> _______________________________________________
> bitc-dev mailing list
> bitc-dev at coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
--
We can't solve problems by using the same kind of thinking we used when we
created them.
- A. Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.coyotos.org/pipermail/bitc-dev/attachments/20090311/43a12360/attachment-0001.html
More information about the bitc-dev
mailing list