Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MonoFunctor or RFunctor instance #122

Open
expipiplus1 opened this issue Jan 20, 2016 · 1 comment
Open

MonoFunctor or RFunctor instance #122

expipiplus1 opened this issue Jan 20, 2016 · 1 comment

Comments

@expipiplus1
Copy link

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

@Twinside
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants