parent
037837b551
commit
0e4a111f81
1714 changed files with 20803 additions and 11751 deletions
5
packages/backend/src/prelude/relation.ts
Normal file
5
packages/backend/src/prelude/relation.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export type Predicate<T> = (a: T) => boolean;
|
||||
|
||||
export type Relation<T, U> = (a: T, b: U) => boolean;
|
||||
|
||||
export type EndoRelation<T> = Relation<T, T>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue