Prof. Dr. Johannes Grabmeier privat
2018-05-26 11:42:44 UTC
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)
(2) -> remove(2,li)
(2) [4, 3, 5, 7, 7]
Type: List(PositiveInteger)
(3) -> li10 := [recip(i::IntegerMod 10) for i in 0..9]
(3) ["failed", 1, "failed", 7, "failed", "failed", "failed", 3,
"failed", 9]
Type:
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
issue
)display op remove
to learn more about the available operations. Perhaps
package-calling the operation or
using coercions on the arguments will allow you to apply the
operation.
Cannot find a definition or applicable library operation named remove
with argument type(s)
failed
List(Union(IntegerMod(10),"failed"))
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which
version of the function you need
--
Mit freundlichen Grüßen
Johannes Grabmeier
Prof. Dr. Johannes Grabmeier
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Tel. +49-(0)-991-3615-141 (d), Fax: +49-(0)-32224-192688
(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)
(2) -> remove(2,li)
(2) [4, 3, 5, 7, 7]
Type: List(PositiveInteger)
(3) -> li10 := [recip(i::IntegerMod 10) for i in 0..9]
(3) ["failed", 1, "failed", 7, "failed", "failed", "failed", 3,
"failed", 9]
Type:
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
issue
)display op remove
to learn more about the available operations. Perhaps
package-calling the operation or
using coercions on the arguments will allow you to apply the
operation.
Cannot find a definition or applicable library operation named remove
with argument type(s)
failed
List(Union(IntegerMod(10),"failed"))
Perhaps you should use "@" to indicate the required return type,
or "$" to specify which
version of the function you need
--
Mit freundlichen Grüßen
Johannes Grabmeier
Prof. Dr. Johannes Grabmeier
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Tel. +49-(0)-991-3615-141 (d), Fax: +49-(0)-32224-192688
--
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+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google
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+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google