TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

ForAll ( list l, func pred ) -> elt-alg^boo

Description

Return true iff every member of `l' suffices the predicate function `pred'.
Note: Apparently `pred' must have `-> elt-alg^boo' out-signature.

Examples

ForAll([1..100],IsPrime);
ForAll([2,4,6,8,100],IsEven);
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group