bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Not a syntax error


From: enztec
Subject: Re: [Bug-apl] Not a syntax error
Date: Tue, 15 Apr 2014 07:49:15 -0600

with nothing assigned to b

      a←b
VALUE ERROR
      a←b
        ^
     
makes consistant sense that the x←gg  would be a value error



On Tue, 15 Apr 2014 07:51:44 -0500
Blake McBride <address@hidden> wrote:

> That certainly ends any debate.  Thanks!
> 
> Blake
> 
> 
> 
> On Tue, Apr 15, 2014 at 6:31 AM, Juergen Sauermann <
> address@hidden> wrote:
> 
> >  Hi Blake,
> >
> > my initial thinking was also that this is a syntax error.
> > However the ISO standard wants a value error (around page 67):"
> >
> > "Pattern V ← B
> >
> > Evaluation Sequence:
> >
> > If B is not a value, signal value-error."
> >
> > /// Jürgen
> >
> >
> >
> >
> > On 04/15/2014 07:31 AM, Blake McBride wrote:
> >
> > Additionally, while their may be a semantic problem with that code as you
> > point out, there is utterly nothing wrong with the _syntax_.
> >
> >
> > On Sun, Apr 13, 2014 at 8:40 AM, <address@hidden> wrote:
> >
> >> Hi
> >>
> >> I think it is really is a syntax error
> >>
> >> Creating gg as a 'procedure' (returns no value) vs using it as a function
> >> (returns a value) in coding
> >>
> >> But argument can be made that gg  has no value
> >>
> >> On Sun, 13 Apr 2014 12:54:32 +0200
> >> Juergen Sauermann <address@hidden> wrote:
> >>
> >> > Hello Blake,
> >> >
> >> > yes, thanks. Fixed in SVN 202.
> >> >
> >> > /// Jürgen
> >> >
> >> >
> >> > On 04/12/2014 08:00 PM, Blake McBride wrote:
> >>  > >       ∇gg                      gg created as a 'procedure'
> >> > > [1] 4
> >> > > [2] ∇
> >> > >       gg
> >> > > 4
> >>  > >       x←gg                     use of gg as a 'function'
> >>  > > 4
> >> > > SYNTAX ERROR
> >> > >       x←gg
> >> > >       ^ ^
> >> > >
> >> > > I understand what is wrong with gg.  The problem is the error message.
> >> > >  I think it is wrong.  Shouldn't it be VALUE ERROR  ?
> >> > >
> >> > > Thanks.
> >> > >
> >> > > Blake
> >> > >
> >> >
> >> >
> >>
> >>
> >
> >



reply via email to

[Prev in Thread] Current Thread [Next in Thread]