| |||||||||||||
KASH3 Reference Manual | |||||||||||||
| |||||||||||||
FunctionPositionProperty
(
func pred
)
->
func pos
Optional Arguments
DescriptionReturn FAILURE if no such element exists in `l'. Note: Apparently `pred' must have `-> elt-alg^boo' out-signature. Examplesl:=[Random(1000)..1000+Random(1000)];;
f:=PositionProperty(i->i mod 17=0);;
l; f(l);
| |||||||||||||
Built:
Mon Nov 14 21:12:39 UTC 2005 on mackThe KANT Group |