demo
- Overflow typeof Overflow
- A sum that went over limit.
- add (a: number, b: number) => Effect<number, Overflow, never>
- Two numbers added, as an Effect that fails with Overflow past limit.
- addOrNegate (a: number, b: number) => Effect<number, never, never>
- add, with an Overflow turned into its sum, negated.
- limit 100
- The largest sum add gives.
- main () => Promise<void>
- Runs the playground's programs, one of them asynchronously.
- testAdd () => void
- testOverflowIsCaught () => void