2 ms·
Maybe both of those examples aren't great? Maybe you want something like this? case result of Error e -> -- some error handling code Ok a -> -- th
by yakshaving_jgt 5y ago
Maybe both of those examples aren't great? Maybe you want something like this?
case result of
Error e -> -- some error handling code
Ok a -> -- the happy path