> Would you happen to know any beginners who could help
> pick some interesting examples for J's verbs?

me!?

some SQL related examples
 - monad ~. is like 'select distinct'
 - /. is like 'group by'
 - = etc. like 'where'
 - /: like 'order by'
put it all together using one-array-per-column table example.
  select year,min(open),max(open),max(open)-min(open)
  from quotes
  group by year
  order by (max(open)-min(open))/min(open)

skim over " and show how you can sum an entire matrix
or sum each row.

these sorts of things are what i expected to see when
learning j... i knew j had powerful 'array at a time' ops,
but i got bogged down in the labs and docs with little
details -- i mean, i don't want to hear about k-cells and
frames when i *know* i can get a handle on the language
without having to know this detail.

i first got interested in APL with arthur's kdb (which
blew my mind -- it is still the most amazing piece of
software i've ever come across) and that was in 2000.
i've wanted to learn j/k ever since then, and it's only
in the past month that i've written my first useful
program.  i've tried a few times to get into j with
JforC, the primer and the labs.

it could just be me, but i think it's hard to get into APL
and the reason for me was the lack of "programmer
related" examples.

i'm happy to elaborate, or contribute to such doc if
anyone is interested.

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

Reply via email to