Dan Bron recently made this successful request of the J community:


    H ;:^:_1@(](>@{:@]|."_1(,.>@{.))i.({;(~:_1+#))1|.'is not in haystack';":&.>@i.@#@[) N
  Washington is not in haystack
  4 Bush

    Haystack ;:^:_1@(] ,. [ ((<'is not in haystack')"_)`(#@[ I.@:= ])`(8!:0@])} i.) Needle
  Washington is not in haystack
  Bush 4

    msg=: (<'is not in haystack')"_
    idxmissing=: #@[ I.@:= ]
    fmtdata=: 8!:0@]
    Haystack ;:^:_1@(] ,. [ msg`idxmissing`fmtdata} i.) Needles
  Washington is not in haystack
  Bush 4

...


Matthew Brand had this good idea to offer.


...


Part of an exchange in which Dan admits to some bad behavior and Ric draws a lesson from it for all of us:



A typically well-considered contribution from Raul:



These suggestions about making J more attractive fit in with ideas about "domain-specific languages" and "little languages" that have found favor elsewhere.

NYCJUG/2009-09-08/PromotingJOnRosettaCode (last edited 2009-09-10 02:27:51 by DevonMcCormick)