Here's a naive Fibonacci sequence:
(,[:+/_2&{.)^:10]0 1 NB. 10 + 2 elements
0 1 1 2 3 5 8 13 21 34 55 89
And here's its explicit monadic version:
3 :'(,[:+/_2&{.)^:y 0 1' 10
0 1 1 2 3 5 8 13 21 34 55 89
The questions is: in tacit definition, can I somehow supply rightmost argument to ^:
conjunction, so as (off top of my head):
((,[:+/_2&{.)^:y 0 1)10
0 1 1 2 3 5 8 13 21 34 55 89
Will yield the expected result? Or, more correct definition (again, off top of my head):
((,[:+/_2&{.)^:(y-2)1 1)10
1 1 2 3 5 8 13 21 34 55
More generally: is it possible to tacitly define adverbs and conjunctions in J, or is it possible only with explicit definitions?
My gut (and material from this question) tells me that I should go to the dark side and learn more about gerunds and `
/ `:
conjunctions. Is that correct? If so, I would appreciate any newbie-friendly material on this matter :)