>
> What is going wrong here:
>
> (1) -> li := [2,4,3,2,5,2,7,2,2,7]
>
> (1) [2, 4, 3, 2, 5, 2, 7, 2, 2, 7]
> Type: List(PositiveInteger)
> (3) -> li10 := [recip(i::IntegerMod 10) for i in 0..9]
>
> (3) ["failed", 1, "failed", 7, "failed", "failed", "failed", "failed", 9]
> List(Union(IntegerMod(10),"failed"))
> (4) -> f : Union(IntegerMod(10),"failed") := "failed"
>
> (4) "failed"
> Type: Union("failed",...)
> (5) -> remove(f, li10)
> There are 3 exposed and 1 unexposed library operations named remove
> having 2 argument(s)
> but none was determined to be applicable. Use HyperDoc Browse, or
A bug. Removing a single line in 'i-funsel.boot' fixes it:
Index: src/interp/i-funsel.boot
===================================================================
--- src/interp/i-funsel.boot (revision 2423)
+++ src/interp/i-funsel.boot (working copy)
@@ -166,7 +166,6 @@
selectMms2(op,tar,args1,args2,$Coerce) ==
-- decides whether to find functions from a domain or package
-- or by general modemap evaluation
- or/[STRINGP arg for arg in args1] => NIL
if tar = $EmptyMode then tar := NIL
nargs := #args1
mmS := NIL
--
Waldek Hebisch
--
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 https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.