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, <enz...@gmx.com <mailto:enz...@gmx.com>> 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 <juergen.sauerm...@t-online.de
    <mailto:juergen.sauerm...@t-online.de>> 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