a guest Jan 12th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- instance Functor BintreeL where
- fmap f (Bin a l r) = Bin (f a) (fmap f l) (fmap f r)
- fmap f (Leaf a) = Leaf (f a)
RAW Paste Data