Closed kl0tl closed 3 years ago
The build fails because newtype doesn’t depend on safe-coerce in the package set but it compiles with the rc5 branch of my fork:
let upstream =
https://raw.githubusercontent.com/kl0tl/package-sets/rc5/src/packages.dhall
in upstream
Without the type annotation Data.Lens.Zoom.zoom yields the following error:
I suspect this happens because the functional dependency computing
s -> Focusing m r s
fromStar (Focusing m r) s s
inunder Star p
doesn’t propagate its result, so the compiler cannot solve the Coercible constraints implied by the Newtype constraints inunderF Focusing (under Star p)
.