Juicy.Pixels
Juicy.Pixels copied to clipboard
MonoFunctor or RFunctor instance
Would it make sense to have a MonoFunctor or RFunctor instance for Image?
MonoFunctor:
https://hackage.haskell.org/package/mono-traversable-0.10.1/docs/Data-MonoTraversable.html#t:MonoFunctor
RFunctor:
http://hackage.haskell.org/package/rmonad-0.4.1/docs/Control-RMonad.html#t:RFunctor
It could make sense, but it would be only using the vector instance of MonoFunctor for instance, as it is only mapping the data. I'm not keen to add a dependency to JuicyPixels at this point, as it's already working without much dependencies.