[Jprogramming] Side effects in tacit expressions
Nikolas Drosdek
nikolas.drosdek at gmail.com
Wed Jul 5 00:54:34 UTC 2017
This is exactly what I was looking for, thanks a lot!
I am slightly confused by this however:
13 : '5!:5<''y'''
(,'1')"_
as it seems to replace y with 1 instead of giving 3 : '5!:5<''y'''.
Thanks,
N.D.
2017-07-05 3:28 GMT+03:00 Raul Miller <rauldmiller at gmail.com>:
> Well, that depend on what you mean by a "tacit expression".
>
> If your concept of tacit is one which does not use names, then no,
> because this expression uses names.
>
> If you prefer a more relaxed concept of tacit programming, however,
> you might try something like this:
>
> lrep=: 3 :'5!:5<''y'''
> V=: [: ". 'R=:R,' , lrep
>
> Thanks,
>
> --
> Raul
>
>
>
> On Tue, Jul 4, 2017 at 8:14 PM, Nikolas Drosdek
> <nikolas.drosdek at gmail.com> wrote:
> > Explicitly:
> >
> > R=: 0
> > V=: 3 : 'R=: R , ...'
> >
> > Is there a way to write V in tacit form?
> >
> > Thanks,
> > N.D.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list