David, Having perused your code I am most impressed with its organization and clarity. I have not executed the code but have tried to understand and think I do.
I found one minor typo, I think. In the verb `go` your comment refers to dealing 2 hands of 5 cards, not the 9 cards you deal. I also was uncomfortable in the verb `go` with the very long line. Could the spaces be removed from the line, at least? After fumbling around a lot, I think I understand that the coding of the states "... in base 0 as 0b[0-z] " is necessary to your scheme so that the Agenda values can be computed. That is very clever, but frankly I wish it could be avoided because it makes the code so artificial looking, to me. Really, I like it, but I hate it, too. Thanks for this work. On Sun, Jan 16, 2011 at 9:16 PM, David Ward Lambert <[email protected]> wrote: > I installed a complete rewrite of code I presented months ago. > > http://rosettacode.org/wiki/Go_Fish/J > > Freely modify it (for example to better conform with the style rules). > As I haven't learned to use the z locale I write verb =: 3 : 0 instead > of verb =: monad define . If that sort of thing is important---it > needs changed. > Dave. > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
