├── .envrc ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── default.nix ├── flake.lock ├── flake.nix ├── nix └── bun │ └── default.nix ├── package.json ├── scripts ├── FileSystem.ts ├── build.ts ├── release.ts └── run.ts ├── src ├── ADT.ts └── MakeADT.ts ├── test ├── adt.test.ts ├── inferenceMakeMatch.test.ts └── inferenceMatch.test.ts ├── tsconfig.json └── yarn.lock /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/.envrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | **/*.test.js 4 | 5 | # nix 6 | .direnv 7 | result -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/README.md -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/default.nix -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/flake.nix -------------------------------------------------------------------------------- /nix/bun/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/nix/bun/default.nix -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/package.json -------------------------------------------------------------------------------- /scripts/FileSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/scripts/FileSystem.ts -------------------------------------------------------------------------------- /scripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/scripts/build.ts -------------------------------------------------------------------------------- /scripts/release.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/scripts/release.ts -------------------------------------------------------------------------------- /scripts/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/scripts/run.ts -------------------------------------------------------------------------------- /src/ADT.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/src/ADT.ts -------------------------------------------------------------------------------- /src/MakeADT.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/src/MakeADT.ts -------------------------------------------------------------------------------- /test/adt.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/test/adt.test.ts -------------------------------------------------------------------------------- /test/inferenceMakeMatch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/test/inferenceMakeMatch.test.ts -------------------------------------------------------------------------------- /test/inferenceMatch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/test/inferenceMatch.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pfgray/ts-adt/HEAD/yarn.lock --------------------------------------------------------------------------------