Runar
--
You received this message because you are subscribed to the Google Groups "scalaz" group.
To post to this group, send email to sca...@googlegroups.com.
To unsubscribe from this group, send email to scalaz+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalaz?hl=en.
lolz
The problem with the set instance is, imho due to the library set being broken. Set should have the same variance as list but does not for historical reasons.
Runar
That issue is not so simple.
Set, typically, is not a covariant functor. How would you performing the insert on reconstruction without element ordering?
-- Tony Morris http://tmorris.net/
IMHO, the problem lies in mixing
- Set as the free commutative idempotent monoid monad, which is obviously covariant
- Set as A => Boolean, which is obviously contravariant