From efc0358c1e2b52308d3df68aa713cef5dc6e6bfe Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 15 Dec 2023 22:36:03 +0530 Subject: refactor: moves stuff around --- src/nat.ts | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/nat.ts (limited to 'src/nat.ts') diff --git a/src/nat.ts b/src/nat.ts deleted file mode 100644 index 7491e82..0000000 --- a/src/nat.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Op } from './util'; - -export type Add = { op: '+'; a: A; b: B }; -export type Multiply = { op: '*'; a: A; b: B }; -export type Succ = { op: 'succ', a: A }; - -export type _0 = '0' -export type _1 = Succ<_0> -export type _2 = Succ<_1> -export type _3 = Succ<_2> -- cgit v1.3.1