If only to add to the confusion:

Apparently, I gave a: a hasty reading when I first started learning J. I
always thought it was supposed to be

a: -: <0$0
1
 datatype > a:
boolean
  datatype 0$0
boolean

to make matters worse, we have:

  empty_z_
(i.0 0)"_
  datatype empty ''
integer


On Feb 15, 2014 1:42 PM, "Raul Miller" <[email protected]> wrote:

> Certainly,
>
>    3!:0  >a:  NB. boolean
> 1
>    3!:0  $0   NB. integer
> 4
>
> But what we are working with here is two representations of the same value
> -- most differences which do not involve foreigns should probably be
> thought of as errors.
>
> --
> Raul
>
>
>
> On Sat, Feb 15, 2014 at 1:19 PM, Henry Rich <[email protected]> wrote:
>
> > I didn't use any foreigns in my version of the verb.  The only point I'm
> > trying to make is that a: and <$0 are different.
> >
> > Henry Rich
> >
> >
> > On 2/15/2014 1:10 PM, Raul Miller wrote:
> >
> >> Does it have to be a domain error? We had an example bug involving a
> limit
> >> error just a few days ago. Or are foreigns off limits?
> >>
> >> Thanks,
> >>
> >>  ----------------------------------------------------------------------
> > 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

Reply via email to