Follow

failable monads aren't built into either kotlin or swift yet but having lots of 3rd party implementations in swift i was missing them in kotlin until i realized the `returnValue?.let { … } ?: run { … }` accomplishes much the same thing

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!