Re: [Jprogramming] Adverbial Tacit Jym

2016-04-26 Thread Jose Mario Quintana
Your tacit attempt for a4 is discussed below . . . . . . . . . . Defining a4=. ("_ )(`'' )(`:6) does not quite fit the bill, 1 2 3 a4 1 2 3"_ * a4 *"_ It is getting there though: a4 can be defined as a4=. ("_ )(`'' ) (...) (`:6) but the ... part is tricky! On Sun, Apr 24, 2016

Re: [Jprogramming] Adverbial Tacit Jym

2016-04-26 Thread Jose Mario Quintana
Raul wrote: "Reading your original email again, it looks like you meant this:" Right, a2 is meant to be a pro-adverb for a (tacit) solution. Raul also wrote: "I hope you'll forgive the sloppiness in my attempts." I appreciate the thought but there is really nothing to forgive. On Sun, Apr

Re: [Jprogramming] Adverbial Tacit Jym

2016-04-26 Thread Jose Mario Quintana
Pascal wrote: "a6 is a bit ambiguous if your example uses a u that returns nothing or y." I do not know exactly what you mean by "returns nothing [f]or y" but if u is defined, for instance, as u=. ''"_ or u=. (0 0$'')"_ the results of u("_1) Y and u cheap Y should still match (at least f

Re: [Jprogramming] Look and Say sequence. Sloane A005150

2016-04-26 Thread Raul Miller
There's a J implementation at rosettacode. -- Raul On Tue, Apr 26, 2016 at 3:59 AM, Richard Donovan wrote: > Hi > Does anyone know a neat J expression to calculate this series? > Thanks in advance > -- > For information about

Re: [Jprogramming] Look and Say sequence. Sloane A005150

2016-04-26 Thread Rob Hodgkinson
Hi Richard, in December this was one of the Advent of Code puzzles, please check out these references: http://code.jsoftware.com/wiki/Essays/Advent_Of_Code http://code.jsoftware.com/wiki/Essays/Advent_Of_Code#Problem_10_.28Look_And_Say.29

[Jprogramming] Look and Say sequence. Sloane A005150

2016-04-26 Thread Richard Donovan
Hi Does anyone know a neat J expression to calculate this series? Thanks in advance -- For information about J forums see http://www.jsoftware.com/forums.htm