Add relation types
This commit is contained in:
3
src/prelude/relation.ts
Normal file
3
src/prelude/relation.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type Relation<T, U> = (x: T, y: U) => boolean;
|
||||
|
||||
export type EndoRelation<T> = Relation<T, T>;
|
||||
Reference in New Issue
Block a user