Note however, that the debugger currently is only able to set
breakpoints in named explicit definitions. And adding a rank qualifier
means that the contained explicit definition is anonymous. And,
there's some awkwardness with suspensions (for example, from assert.)
in this context, also, that I should probably better understand.
This is not usually a problem, but it can be an issue, so it's
something to be aware of.
Thanks,
--
Raul
> NB. in your script, say
>
> foo =: {{
> x + y
> }}"0 1 NB. just as an example! (Not necessarily a sensible use
> of rank!)
>
> NB. displaying it in the terminal session; direct definition functions
> NB. are displayed as conventional explicit definitions
>
> foo
> 4 : ' x + y'"0 1
>
> So the rank appears where you would have put it in the old form.
>
> Probably in the wiki somewhere!
>
> Mike
>
>
>
> On 29/03/2022 17:42, P Padilcdx wrote:
> > Is there a way to declare the rank when using {{ }} definitions? Or is it
> > only possible when defining via “:”? Apologies if covered in the wiki and
> > I missed it.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
>
> --
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm