There is no monadic e. used here. It is basically
   (a.{~65 97+/i.26) e. <rightarg>

The only part of the problem specification that I don't think many of
the J versions are addressing is that the list of letters should be
separated by spaces.

On Tue, Aug 28, 2012 at 2:48 PM, Brian Schott <schott.br...@gmail.com> wrote:
>    #'[:|:((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0'
> 48
>    #'|:@((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0'
> 47
>
> I don't remember ever seeing monadic e. used. Sweet.
> ---
> (B=)
>
> On Aug 27, 2012, at 7:04 PM, Raul Miller <rauldmil...@gmail.com> wrote:
>
>> Borrowing some ideas from other people in this thread:
>>
>>   f=:[:|:((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0
>>
>> Example uses:
>>  f 'a'
>>  f '-'
>>  f 'C.'
>>
>> --
>> Raul
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to