tacit-programming Questions
1
Solved
Inspired by some Conor Hoekstra YouTube videos, I tried doing some baby steps in APL and also convert my small lines to point-free style. But for this (percentage of rolls of 4, 5, or 6 in 1000 die...
Marcusmarcy asked 22/11, 2021 at 2:13
2
Solved
I have been learning the Factor and J languages to experiment with point-free programming. The basic mechanics of the languages seem clear, but getting a feeling for how to approach algorithm desig...
Under asked 28/8, 2010 at 19:33
2
Solved
I've found in 'addons/math/misc/brent.ijs' implementation of Brent's method as an adverb. I would like to build a Newton's method as an adverb too but it's much harder than building tacit verbs.
...
Scientific asked 1/11, 2014 at 14:50
2
As a beginner in J I am often confronted with tacit programs which seem quite byzantine compared to the more familiar explicit form.
Now just because I find interpretation hard does not mean that...
Blayze asked 12/4, 2015 at 16:7
2
Solved
I'm a newcomer to J and I've been trying to create a Fibonacci function as an exercise (always the second function I create when learning a language). I just can't figure out what exactly is wrong ...
Havard asked 11/6, 2014 at 18:41
2
Solved
I have seen a lot of functions being defined according to the pattern (f .) . g. For example:
countWhere = (length .) . filter
duplicate = (concat .) . replicate
concatMap = (concat .) . map
Wha...
Tensible asked 29/11, 2013 at 5:57
5
Solved
I've been using J for a few months now, and I find that reading unfamiliar code (e.g. that I didn't write myself) is one of the most challenging aspects of the language, particularly when it's in t...
Exponent asked 2/5, 2010 at 16:50
2
Solved
Say I have a mean function defined like so:
mean xs = sum xs / (fromIntegral $ length xs)
but I want it in some tacit form, like this:
mean = sum / (fromIntegral . length)
Is there a built-in...
Deepfreeze asked 21/8, 2012 at 18:49
4
Solved
Is it possible to use/implement tacit programming (also known as point-free programming) in Lisp? And in case the answer is yes, has it been done?
Vincenza asked 17/6, 2012 at 17:13
6
I know all 3 are related, and I've seen quite a few answers for problems in Project Euler written in J, and a few written K. What I'm wondering is, which would you suggest learning, and where...
Dopp asked 29/9, 2009 at 7:8
4
Solved
I'm currently learning the fascinating J programming language, but one thing I have not been able to figure out is how to filter a list.
Suppose I have the arbitrary list 3 2 2 7 7 2 9 and I want ...
Forkey asked 19/5, 2010 at 10:55
2
Solved
What exact role do higher-order combinators (or function producers) hold in concatenative and tacit programming?
Is there another way to implement a concatenative programming language rather than ...
Paperback asked 8/5, 2010 at 4:36
2
Solved
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?
If so, how successful was t...
Whiteeye asked 3/8, 2010 at 17:3
2
Solved
It's not a practically important issue, but I'd like to see an example of tacit programming in F# where my point-free functions can have multiple arguments (not in form of a list or tuple).
And se...
Rhpositive asked 8/5, 2010 at 7:57
1
© 2022 - 2024 — McMap. All rights reserved.