Option.ts
Functional programming in TypeScript