Comment

Comment by lgas

> Surely it would be better to use a Maybe type for this instead? > > 0 / 1 = Just 0 > 0 / 0 = Nothing

This would make it impossible to compose mathematical expressions of more than one operation without discharging the Maybe which would get ugly fast.

parent lgas 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton