[fricas-devel] [PATCH] make new$List faster

2016-09-16 Thread oldk1331
new$List calls Lisp function directly, instead of repeatedly calling "concat". This change and the previous map! change probably should go into IndexedList, but I really think we should remove IndexedList : 1. It's not used anywhere beside List. (And probably nobody uses it.) 2. Unlike arrays,

[fricas-devel] Function: -: % -> % is missing from domain: NonNegativeInteger

2016-09-16 Thread Kurt Pagani
Today I've compiled svn rev. 2122. Afterwards, while compiling and testing some old code, I got the following (runtime) error several times: Function: -? : % -> % is missing from domain: NonNegativeInteger Internal Error The function - with signature $$ is missing from domain

Re: [fricas-devel] [PATCH] Minor code changes to computation.spad

2016-09-16 Thread Waldek Hebisch
Martin Baker wrote: > > On 15/09/16 19:49, Waldek Hebisch wrote: > > Martin Baker wrote: > >> > >> Minor code changes to computation.spad > >> 1) Change sayMsg to print. > >> 2) Improve OutputForm, don't use string. > >> 3) implement CoercibleTo(OutputForm). > > > > I see that you have a lot of

Re: [fricas-devel] [PATCH] Minor code changes to computation.spad

2016-09-16 Thread Martin Baker
On 15/09/16 19:49, Waldek Hebisch wrote: Martin Baker wrote: Minor code changes to computation.spad 1) Change sayMsg to print. 2) Improve OutputForm, don't use string. 3) implement CoercibleTo(OutputForm). I see that you have a lot of code like: str::Symbol::OutputForm If you want to

Re: [fricas-devel] illegal terminating character after a colon: #\Newline

2016-09-16 Thread Waldek Hebisch
Prof. Dr. Johannes Grabmeier wrote: > > thanks for your quick answer: > > (265) -> )boot dcSlots("VelocityFunctionKG") > > (EVAL-WHEN (EVAL LOAD) (PROG () (RETURN (|dcSlots| '|VelocityFunctionKG| > 5 fun > 6 lazy local(#1) > 7 lazy local(#2) > 8 lazy local(#3) > 9 lazy local(#4) > 10

Re: [fricas-devel] illegal terminating character after a colon: #\Newline

2016-09-16 Thread Prof. Dr. Johannes Grabmeier FW
thanks for your quick answer: (265) -> )boot dcSlots("VelocityFunctionKG") (EVAL-WHEN (EVAL LOAD) (PROG () (RETURN (|dcSlots| '|VelocityFunctionKG| 5 fun 6 lazy local(#1) 7 lazy local(#2) 8 lazy local(#3) 9 lazy local(#4) 10 lazy local(#5) 11 lazy local(#6) 12 latch 0 : () -> % from

Re: [fricas-devel] illegal terminating character after a colon: #\Newline

2016-09-16 Thread Waldek Hebisch
Prof. Dr. Johannes Grabmeier wrote: > Any hints required: a very strange behaviour in a code, unfortunately > minimal example tedious to construct. Perhaps somebody has any ideas, if > not, I will try to construct a minimal example. > > The following behaviour, a package with type parameter VEL

[fricas-devel] illegal terminating character after a colon: #\Newline

2016-09-16 Thread Prof. Dr. Johannes Grabmeier privat
Any hints required: a very strange behaviour in a code, unfortunately minimal example tedious to construct. Perhaps somebody has any ideas, if not, I will try to construct a minimal example. The following behaviour, a package with type parameter VEL has several functions. All compile (trivial