Ralf Hemmecke wrote:
> 
> > That is weirdness of Boot: "-" is a symbol, while you need
> > quoted version, that is '"-" to get a string.
> 
> Does that mean that in
> https://github.com/hemmecke/fricas-svn/blob/master/src/interp/i-output.boot#L255
> 
>   x is [["$elt",domain,"float"], x, y, z] and (domain = $DoubleFloat or
>     domain is ['Float]) and INTEGERP x and INTEGERP y and INTEGERP z and
>         z > 0  and (float :=
> getFunctionFromDomain("float",domain,[$Integer,$Integer,$PositiveInteger]))
> =>
>             f := SPADCALL(x,y,z,float)
>             o := coerceInteractive(mkObjWrap(f, domain), '(OutputForm))
>             objValUnwrap o
> 
> the first part could also be written (in boot) as
> 
>   x is [['$elt,domain,'float], ...
> 
> or (maybe)
> 
>          '_$elt
> 

More or less.  I tend to use "$elt" form when there are any doubts
about proper quoting or quoting would be excessive.  In the past
the "$elt" version was more reliable.  Namely, Boot translator
performend substitutions on keywords, even on quoted ones.  The
"$elt" version was immune to unwanted substitutions.  I think
this problem is fixed now.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to