rudeshark.net/src/prelude/relation.ts

6 lines
148 B
TypeScript
Raw Normal View History

2018-12-19 09:08:09 +01:00
export type Predicate<T> = (x: T) => boolean;
2018-12-19 08:59:43 +01:00
export type Relation<T, U> = (x: T, y: U) => boolean;
export type EndoRelation<T> = Relation<T, T>;