For some strange reason, without issuing fricas (1) -> )se fu co on the following will not work and cause the interpreter to crash: fricas f(xl: LIST FRAC INT): LIST FRAC INT == map(x +-> x, Type: Void
fricas f [1, fricas Compiling function f with type List(Fraction(Integer)) -> List( Fraction(Integer))
Type: List(Fraction(Integer))
The same problem was reported in a different context in bug #165 Martin ... --kratt6, Mon, 22 Aug 2005 06:33:57 -0500 reply Another manifestation is reported by Kai Kaminski:
fricas )se fu co on Type: Void
fricas g := addx 10 fricas Compiling function addx with type PositiveInteger -> (Integer -> Integer)
Type: (Integer -> Integer)
Martin On Mon, 2005-08-29 at 18:50 +0200, Jens Axel Søgaard wrote:I belive the following session must be due to a bug in the compiler: (1) -> firstNegative(l) == first(remove( x +-> x>=0, l)) Type: Void (2) -> firstNegative([1,2,0,-3,4]) Compiling function firstNegative with type List Integer -> Integer Segmentation fault The same happens in Windows. Status: open => pending (next release) Status: pending (next release) => closed Category: general => Axiom Interpreter Status: postponed => closed |