[Jprogramming] (<0)`
Devon McCormick
devonmcc at gmail.com
Sat Dec 28 19:24:06 UTC 2013
I'm running the same version of J that Pepe is but, for jconsole, his
"(<1)test" crashes the interpreter.
On Sat, Dec 28, 2013 at 1:48 PM, Jose Mario Quintana <
jose.mario.quintana at gmail.com> wrote:
> Yes, it seems to work with literals, perhaps because
>
> test
> a`
> instead of |domain error: test
>
>
> On Sat, Dec 28, 2013 at 1:13 PM, Raul Miller <rauldmiller at gmail.com>
> wrote:
>
> > This smells like the use of uninitialized memory in the interpreter.
> >
> > --
> > Raul
> >
> > On Sat, Dec 28, 2013 at 12:57 PM, Brian Schott <schott.brian at gmail.com>
> > wrote:
> > > (<'b')(test=. (<'a')`) NB. First it works...
> > > +-+-+
> > > |a|b|
> > > +-+-+
> > > (<'b')test NB. ... Then, again, if literals?
> > > +-+-+
> > > |a|b|
> > > +-+-+
> > >
> > >
> > >
> > > On Sat, Dec 28, 2013 at 12:28 PM, Jose Mario Quintana <
> > > jose.mario.quintana at gmail.com> wrote:
> > >
> > >> I know the display of bonded conjunctions is buggy,
> > >>
> > >>
> >
> http://www.jsoftware.com/jwiki/System/Interpreter/Bugs#display_of_bonded_conjunctions_buggybut
> > >> I did not see this one coming:
> > >>
> > >> (9!:14)''
> > >> j701/2011-01-10/11:25
> > >>
> > >> (<0)`(<1)
> > >> ┌─┬─┐
> > >> │0│1│
> > >> └─┴─┘
> > >> (<1)(test=. (<0)`) NB. First it works...
> > >> ┌─┬─┐
> > >> │0│1│
> > >> └─┴─┘
> > >> (<1)test NB. ... Then it does not...
> > >> |domain error: test
> > >> | (<1)test
> > >> (<1)test NB. ... Then it works again! Go figure.
> > >> ┌─┬─┐
> > >> │0│1│
> > >> └─┴─┘
> > >> test
> > >> |domain error
> > >> (<1)((<0)`)
> > >> ┌─┬─┐
> > >> │0│1│
> > >> └─┴─┘
> > >> ((<0)`)
> > >> |domain error
> > >> (<0)`
> > >> |domain error
> > >> (<1)test
> > >> ┌─┬─┐
> > >> │0│1│
> > >> └─┴─┘
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >
> > >
> > >
> > >
> > > --
> > > (B=) <-----my sig
> > > Brian Schott
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
More information about the Programming
mailing list