|
|
|
|
|
by DanWaterworth
4076 days ago
|
|
This is actually possible with the ConstraintKinds extension in GHC. type Mappable = Functor
type NotScaryFluffyThing = Monad
This makes Mappable a synonym for Functor and likewise for Monad. (This is not necessarily a good idea; it goes against the principle of least surprise, but it'll work). |
|