raulraja
11/05/2017, 7:41 PMEither
does not provide a Comonad
instance because it's not possible to safely extract
A
from an Either<L, A>
. The issue here is that the syntax is enabled but it should not be enabled if the compiler had a notion of type classes, this really should have been a compilation error.