Thanks, I see.

 Rob.

> On 18 Jan 2018, at 14:09, Raul Miller <[email protected]> wrote:
> 
> It's trying to tell you that you need a ':' in your adverb definition
> so that the resulting explicit code accepts an x argument.
> 
> See also: http://www.jsoftware.com/help/dictionary/d310n.htm (or maybe
> the NuVoc parallel...).
> 
> Try:
> 
> monad2dyad 1 :(':';'u x,y')m
> 
> or
> 
> monad2dyad 1 :'u@,'
> 
> or
> 
> monad2dyad 1 :0
> :
>  u x,y
> )
> 
> Thanks,
> 
> -- 
> Raul
> 
>> On Thu, Jan 18, 2018 at 6:40 AM, Rob B <[email protected]> wrote:
>> Hi,
>> 
>> This adverb works fine ....
>> 
>> NB. Adverb.. Allows x u y to be expressed as  u dyad2monad x y
>> 
>> dyad2monad =: 1 : '({.y) u }.y'
>> 
>> - dyad2monad 1 3   NB. Should give _2
>> _2
>> 
>> But this one fails...
>> 
>> NB. Adverb.. allows u x y to be expressed as x u monad2dyad y
>> 
>> monad2dyad =: 1 : 'u x, y'
>> 
>> 1 -monad2dyad  3      NB. Should give _1 _3
>> |domain error
>> |   1    -monad2dyad 3
>> 
>> What is 'domain error' trying to tell me?
>> 
>> Regards, Rob.
>> 
>> ----------------------------------------------------------------------
>> 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