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: Juergen Sauermann
Subject: Re: [Bug-apl] Not a syntax error
Date: Tue, 15 Apr 2014 13:31:03 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

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]