Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Functor f where
- type FunctorConstraint f x :: Constraint
- type FunctorConstraint f x = ()
- fmap :: (FunctorConstraint f a, FunctorConstraint f b) => (a -> b) -> f a -> f b
- instance Functor VU.Vector where
- type FunctorConstraint VU.Vector x = VU.Unbox x
- fmap = VU.map
Add Comment
Please, Sign In to add comment