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 <[email protected]>

> 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: [email protected]
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

Reply via email to