On Mon, Feb 2, 2015 at 9:10 AM, Raul Miller <[email protected]> wrote:
> Here's one example of a J lambda syntax:
>
> 3 :0
> (x y)=. y
> x+y
> )
>
> This differs from Haskell and Scheme lambda syntax in obvious ways,
> but it's viable.
>
How would this get called / invoked?
Using the scheme example[1]:
(((lambda (x)
(lambda(y)
(+ x y))) 1) 2)
3
Using the haskell example[2]:
λ (\x y -> x+y)(1)(2)
3
How would I use the J example?
[1] - http://tryscheme.sourceforge.net/
[2] - https://tryhaskell.org/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm