> From: Tracy Harms > > ... > So it is that I put here the following J with a request for > descriptions of the reading experience. How clear is it to you what is > going on, as you look through this? Perhaps more interesting, *how* is > it clear to you? > > 3435 = +/ ^~ 3 4 3 5 > 1 > > digits =: 10&#.^:_1 > o =: @: > isMunchausen =: = +/ o ^~ o digits > > isMunchausen 3435 > 1 > > isMunchX =: verb :'y = +/ ^~ digits y' > ...
This seems pretty straight forward and clear to me. Perhaps the thing that I find hardest in the tacit version is the use of "o" to represent "@:" (requires an extra level of mental substitution). I think most reasonably fluent J readers would find the following easier to parse/understand: isMunchausen =: = +/@:^~@:digits ... which is more obviously a 2-verb train (hook) However I imagine someone not familiar with J would find that more intimidating. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm