なんかもうめっちゃ変えた
This commit is contained in:
parent
d9ab03f086
commit
b75184ec8e
946 changed files with 41219 additions and 28839 deletions
5
packages/backend/src/misc/prelude/relation.ts
Normal file
5
packages/backend/src/misc/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