WhoCites Definitions MarkB generic Sections NuprlLIB Doc

Who Cites filter?
filterDef filter(P;l) == reduce(a,v. if P(a) [a / v] else v fi;nil;l)
Thm* T:Type, P:(T), l:T List. filter(P;l) T List
reduce Def reduce(f;k;as) == Case of as; nil k ; a.as' f(a,reduce(f;k;as')) (recursive)
Thm* A,B:Type, f:(ABB), k:B, as:A List. reduce(f;k;as) B

Syntax:filter(P;l) has structure: filter(P; l)

About:
listconsnillist_ind
boolifthenelselambdaapplyfunction
recursive_def_noticeuniversememberall!abstraction

WhoCites Definitions MarkB generic Sections NuprlLIB Doc