/* * ------------------------------------------- * Model * ------------------------------------------- */ export interface Predicate { (a: A): boolean } export interface PredicateWithIndex { (i: I, a: A): boolean }