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