3 ms·
I don't think monadic notation here is the panacea that it is sold as. The harder part would still be modifying your function's return type to thread the result
by kibwen 11y ago
I don't think monadic notation here is the panacea that it is sold as. The harder part would still be modifying your function's return type to thread the result up the stack.
In any case, .unwrap() is perfectly fine in applications, it's only in libraries that they're discouraged.