@@ -130,6 +130,7 @@ data Compiler = Compiler
130130 deriving (Eq , Generic , Show , Read )
131131
132132instance Binary Compiler
133+ instance NFData Compiler
133134instance Structured Compiler
134135
135136showCompilerId :: Compiler -> String
@@ -205,6 +206,7 @@ data PackageDBX fp
205206 deriving (Eq , Generic , Ord , Show , Read , Functor , Foldable , Traversable )
206207
207208instance Binary fp => Binary (PackageDBX fp )
209+ instance NFData fp => NFData (PackageDBX fp )
208210instance Structured fp => Structured (PackageDBX fp )
209211
210212-- | Parse a PackageDB stack entry
@@ -305,6 +307,7 @@ data OptimisationLevel
305307 deriving (Bounded , Enum , Eq , Generic , Read , Show )
306308
307309instance Binary OptimisationLevel
310+ instance NFData OptimisationLevel
308311instance Structured OptimisationLevel
309312
310313instance Parsec OptimisationLevel where
@@ -354,6 +357,7 @@ data DebugInfoLevel
354357 deriving (Bounded , Enum , Eq , Generic , Read , Show )
355358
356359instance Binary DebugInfoLevel
360+ instance NFData DebugInfoLevel
357361instance Structured DebugInfoLevel
358362
359363instance Parsec DebugInfoLevel where
@@ -607,6 +611,7 @@ data ProfDetailLevel
607611 deriving (Eq , Generic , Read , Show )
608612
609613instance Binary ProfDetailLevel
614+ instance NFData ProfDetailLevel
610615instance Structured ProfDetailLevel
611616
612617instance Parsec ProfDetailLevel where
0 commit comments