- or download this
(f g) data => data f (g data)
- or download this
fn data NB. function applied to data "NB. is comment in J"
- or download this
5 + 5 NB. 5 adds_to 5
5 , 6 NB. 5 appended_to 6
4 { 1 2 3 4 5 NB. 4th element_of the_list_12345
- or download this
(f g) data => data f (g data)
- or download this
(f g h) data => (f data) g (h data)
- or download this
avg =: +/ % #
- or download this
(+/ data) % (# data)
(sum-of data) divided-by (number-of-elems data)
results in average
- or download this
Falkoff and Iverson, The Design of APL, 1973.
Falkoff and Iverson, The Evolution of APL, 1978.
Iverson, A Personal View of APL, 1991.