Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait Mappable<A, B>
- {
- type M<A> where M<A> = Self;
- type M<B>;
- fn map<A, B>(self, f: A -> B) -> M<B>;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement