Skip to content

Derive Eq instance for the HieTypeFix type

Zejun Wu requested to merge eq_hie_type_fix into master

We have instance Eq a => Eq (HieType a) already.

This instance can be handy when we want to impement a function to find all fromIntegral :: a -> a using:

case ty of { Roll (HFunTy _ a b) -> a == b; _ -> False }

Merge request reports