See the Quicksort essay in the J Wiki for some
examples of selections:

http://www.jsoftware.com/jwiki/Essays/Quicksort



----- Original Message -----
From: Arved Sandstrom <[EMAIL PROTECTED]>
Date: Sunday, November 19, 2006 3:38 am
Subject: [Jprogramming] Thanks re: explicit to tacit converter comprehension

> Thank you, all the answers helped. I had twigged to the fact that 
> by J
> precedence rules my first verb was nonsensical, but that really didn't
> invalidate the exercise. :-)
> 
> I was using these examples specifically because I was 
> experimenting with
> filters. I like the simplicity of Haskell's
> 
> filter pred list
> 
> or
> 
> [ f x | x <- list, pred x ]
> 
> and I am trying to take things that I do there and express them in 
> J. For
> that matter, I am trying to take a lot of the things that I do in 
> Haskelland translate them to J. :-)
> 
> Just out of curiosity, without asking for a solution, would 
> experts here
> consider both discrete convolution and 2-D Bresenham's algorithm 
> to be 1-3
> line J programs?


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to