This smells like the use of uninitialized memory in the interpreter. -- Raul
On Sat, Dec 28, 2013 at 12:57 PM, Brian Schott <[email protected]> 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 < > [email protected]> 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
