all

EveAndersson.com : API Browser : all

all

allpred xs
Defined in tcl/ad-functional.tcl

Takes a predicate pred and a list xs and returns 1 if all elements of xs fulfill pred.

Examples

  • all even_p {2 44 64 80 10} = 1
  • all even_p {2 44 65 80 10} = 0

Parameters:
pred
xs
[ show source ]

Show another procedure:

eve@eveandersson.com