Closed
Description
Hi, I'm trying to derive Lift
instances for HashMap
and HashSet
as done in th-lift-instances for Set
and Map
from containers
(specifically here) so that I can use them with Typed Template Haskell.
However, deriving Lift
as an orphan instance requires access to the constructors which I'd expect from the Internal
version of the HashSet
and HashMap
modules but that is not the case. HashMap
partially exposes it, however, it uses types such as HashMap.Array.Array
which doesn't expose its constructors.
Is there a reason for this?