> What is gain from this compared to:
>
>         new(n, e) == [e for i in 1..n]

It doesn't compile:

   compiling exported new : (NonNegativeInteger,S) -> $
****** comp fails at level 1 with expression: ******
error in function new

((COLLECT (STEP |i| 1 1 |n|) |e|))
****** level 1  ******
$x:= (COLLECT (STEP i (One) 1 n) e)
$m:= $
$f:=
((((|e| # . #1=#) (|n| # . #2=#) (|e| . #1#) (|n| . #2#) ...)))

   >> Apparent user error:
   Invalid collect bodytype

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to