tacit-programming
Fiddling with point-free code?
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[详细]
2023-01-14 12:51 分类:问答Have J style adverbs, forks etc been emulated via libraries in mainstream functional languages?
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?[详细]
2023-01-09 21:17 分类:问答Void Verbs in J
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[详细]
2023-01-08 11:27 分类:问答what are some of J's unique features?
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 开发者_[详细]
2023-01-06 20:20 分类:问答How do I do file io in J?
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.[详细]
2023-01-04 01:27 分类:问答Why do I not get the correct answer for Euler 56 in 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.[详细]
2023-01-03 06:45 分类:问答Abstracting boxed array structures in 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[详细]
2023-01-02 06:07 分类:问答Setting the rank of a user-defined verb in J
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[详细]
2023-01-01 20:02 分类:问答How to filter a list in J?
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.[详细]
2022-12-31 12:37 分类:问答How do I define a monadic function to work on a list in J?
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\'[详细]
2022-12-30 18:01 分类:问答