I have been learning the Factor and J lan开发者_Go百科guages to experiment with point-free programming. The basic mechanics of the languages seem clear, but getting a feeling for how to approach algor
Has an emulation of J style of super condensed tacit programming via verbs, adverbs, forks, etc., ever been attempted via libraries for mainstream functional languages?
I\'m learning how to use J via online reading and doing some old Java assignments over again using this language, and would like to know how to make a verb that doesn\'t take any operands, or return a
I come from a background of C, Fortran, Python, R, Matlab, and some Lisp - and I\'ve read a few things on Haskell. What are some neat ideas/examples in J or other languages from the APL family 开发者_
I want to be able to read and write files, etc. Ho开发者_JAVA技巧w can I do this?Check out Chapter 28: Data Files of Learning J.
I\'ve solved 84 of the Project Euler problems, mostly in Haskell. I am now going back and trying to solve in J some of those I already solved in Haskell, as an exercise in learning J.
I\'ve been working on a J function for a while, that\'s supposed to scan a list and put consecutive copies of an element into separate, concatenated boxes. My efforts have taken me as far as the funct
Here\'s a function to calculate the digital sum of a number in J: digitalSum =: +/@:(\".\"0)@\": If I use b. to query the rank of this verb, I get _ 1 _, i.e., infinite. (We can ignore the dyadic ca
I\'m currently learning the fascinating J programming lan开发者_Python百科guage, but one thing I have not been able to figure out is how to filter a list.
Let\'s say I have the following J expression: # 3 ((|=0:)#]) 1+i.1000 This counts the number of numbers between 1 and 1000 that are evenly divisible by 3. (Now, before anyone points out that there\'