I am trying to learn J and one huge problem I'm running into is I don't know what all the predefined operators are or where to find them. It took me way too long to figure out the | is both the remainder function(when it dyadic) but when its used monadic it gets absolute value or magnitude. Does any one know where a list of all the operators that J defines by default could be found?
+2
A:
You may be looking for the J Vocabulary, although trying to read its documentation on monadic vs. dyadic |
is greek to me. (Disclaimer: I am not a J programmer)
Adam Bellaire
2009-08-31 15:04:57
that looks exactly like what I was looking for thanks. Monadic means it takes in arguments from one side like this +/ 1 2 3 and returning 6 dyadic means taking arguments from both sides 1 2 3 +/ 1 2 3 returnin2 3 43 4 54 5 6
faceless1_14
2009-08-31 15:20:43
It's really unfortunate that J doesn't have built-in help, using the foreign conjunction I'm sure. One of the things I love about REBOL is that I can type `help foo` and get immediate help on `foo`.
Gregory Higley
2010-06-08 01:35:22