> Compiling the same (really?) code with some more
> explicit type declarations:
>
> al : LPI := [1,2,3,4,5]
> l : LPI := scan("+", al, 1::PI)
Does this give you the same error?
l : LPI := scan(_+, al, 1$PI)
Note that "+" is a string while _+ is the identifier for plus. One has
to escape it in this position. Also '+ would be wrong, because that
would be something of type Symbol. But you want a function (PI,PI)->PI
in this position.
Ralf
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.