4 ms·
But rust's map() is fmap. All the functions used with map() are a->a. It looks like and_then() is more equivalent to >>=.
by wyager 12y ago
But rust's map() is fmap. All the functions used with map() are a->a. It looks like and_then() is more equivalent to >>=.
- gamegoblin 12y agoAaaah I misunderstood -- I thought they'd made the type signatures for all of their math functions to return an Option type. You are totally correct.