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 <[email protected]> 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 > [email protected] > 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
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
