Then can we add *medad* for zero-valence functions? Cheers,
Andrew Pennebaker www.yellosoft.us 2011/10/30 Björn Helgason <gos...@gmail.com> > nilad works today. > It displays the definition of the verb > nilad is an option in APL to execute a function and I think it is one of > the improvements made going for J and was a deliberate choice and I am > pretty sure it will not be considered as an improvement to change that. > > Having a utility to display some sort of info made in scripts/verbs made > with certain kinds of NB. combination might be interesting and useful. > > 2011/10/30 Andrew Pennebaker <andrew.penneba...@gmail.com> > > > Could we add "nilad" for zero-valence verbs? > > > > Don Guinn posted< > > http://permalink.gmane.org/gmane.comp.lang.j.programming/16701>an > > easy way to do this: > > > > NB. Stresses that this verb ignores its y > > nilad=: monad > > > > Or, if we really wanted to adopt nilad at the compiler level, we could > > raise a domain error when the coder tries to pass a value to a nilad. > > > > Cheers, > > > > Andrew Pennebaker > > www.yellosoft.us > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Björn Helgason, Verkfræðingur > Fornustekkum II > 781 Hornafirði, > t-póst: gos...@gmail.com > gsm: +3546985532 > twitter: @flugfiskur > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > /|_ .-----------------------------------. > ,' .\ / | Með léttri lund verður | > ,--' _,' | Dagurinn í dag | > / / | Enn betri en gærdagurinn | > ( -. | `-----------------------------------' > | ) | (\_ _/) > (`-. '--.) (='.'=) ♖♘♗♕♔♙ > `. )----' (")_(") ☃☠ > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm