Remix.run Logo
asplake 2 days ago

Perhaps it’s cheating, but last I checked, Gleam has no “if”, only “match”. With that, and in languages with sum types, you can easily define your own boolean and boolean-adjacent types.

kayodelycaon 2 days ago | parent [-]

If null, you have booleans: null or not null. :)