2 Comments
User's avatar
Mic's avatar

Could you wrap those partial functions in a Maybe?

Expand full comment
Eric Normand's avatar

Yes, that is one way, but it has downsides: https://ericnormand.me/podcast/how-do-you-make-a-function-total

Expand full comment