Don't create selector cases for unused binders.
[matthijs/master-project/cλash.git] / NormalizeTypes.hs
index 89ed53d41746d871924bf56ba02787d7e475b961..56cba91a411666a078e0eed852ffe5c084fea0f9 100644 (file)
@@ -28,8 +28,6 @@ data TransformState = TransformState {
   , tsNormalized_ :: VarSet.VarSet -- ^ The binders that have been normalized
   , tsType_ :: TypeState
 }
--- Create an (almost) empty TransformState, containing just a UniqSupply.
-emptyTransformState uniqSupply = TransformState uniqSupply Map.empty VarSet.emptyVarSet emptyTypeState
 
 $( Data.Accessor.Template.deriveAccessors ''TransformState )