2 ms·
I've not used Rust before, but this looks a lot like monads! Can I map/flatmap over these or do I have to unpack them later? If you _can_ operate on those like
by chaorace 7y ago
I've not used Rust before, but this looks a lot like monads! Can I map/flatmap over these or do I have to unpack them later?
If you _can_ operate on those like collections, Rust is a much more fun language than I initially gave it credit for!
- paulgb 7y agoYes, you can map over them, and it's great! I think they satisfy all of the monad rules, but I'm forgetting what they all are at the moment.