UNPKG

@safs.io/match

Version:

Gale/Shapely deferred acceptance algorithm

12 lines (11 loc) 276 B
import { LeftEl } from "./left-element"; import { RightEl } from "./right-element"; declare type Match = { left: LeftEl; right: RightEl; }; export declare function match({ leftEls, rightEls, }: { leftEls: LeftEl[]; rightEls: RightEl[]; }): Match[]; export {};