@@ -127,9 +127,7 @@ data NExprF r
127127
128128instance Hashable1 NExprF
129129
130- #if MIN_VERSION_deepseq(1, 4, 3)
131130instance NFData1 NExprF
132- #endif
133131
134132#ifdef MIN_VERSION_serialise
135133instance Serialise r => Serialise (NExprF r )
@@ -168,9 +166,7 @@ data Binding r
168166
169167instance Hashable1 Binding
170168
171- #if MIN_VERSION_deepseq(1, 4, 3)
172169instance NFData1 Binding
173- #endif
174170
175171#ifdef MIN_VERSION_serialise
176172instance Serialise r => Serialise (Binding r )
@@ -190,9 +186,7 @@ data Params r
190186
191187instance Hashable1 Params
192188
193- #if MIN_VERSION_deepseq(1, 4, 3)
194189instance NFData1 Params
195- #endif
196190
197191#ifdef MIN_VERSION_serialise
198192instance Serialise r => Serialise (Params r )
@@ -219,9 +213,7 @@ instance Hashable2 Antiquoted where
219213 liftHashWithSalt2 _ hb salt (Antiquoted b) =
220214 hb (salt `hashWithSalt` (2 :: Int )) b
221215
222- #if MIN_VERSION_deepseq(1, 4, 3)
223216instance NFData v => NFData1 (Antiquoted v )
224- #endif
225217
226218#ifdef MIN_VERSION_serialise
227219instance (Serialise v , Serialise r ) => Serialise (Antiquoted v r )
@@ -243,9 +235,7 @@ data NString r
243235
244236instance Hashable1 NString
245237
246- #if MIN_VERSION_deepseq(1, 4, 3)
247238instance NFData1 NString
248- #endif
249239
250240#ifdef MIN_VERSION_serialise
251241instance Serialise r => Serialise (NString r )
@@ -304,13 +294,11 @@ instance Generic1 NKeyName where
304294 from1 = id
305295 to1 = id
306296
307- #if MIN_VERSION_deepseq(1, 4, 3)
308297instance NFData1 NKeyName where
309298 liftRnf _ (StaticKey ! _ ) = ()
310299 liftRnf _ (DynamicKey (Plain ! _) ) = ()
311300 liftRnf _ (DynamicKey EscapedNewline ) = ()
312301 liftRnf k (DynamicKey (Antiquoted r)) = k r
313- #endif
314302
315303-- | Most key names are just static text, so this instance is convenient.
316304instance IsString (NKeyName r ) where
@@ -410,10 +398,6 @@ paramName :: Params r -> Maybe VarName
410398paramName (Param n ) = Just n
411399paramName (ParamSet _ _ n) = n
412400
413- #if !MIN_VERSION_deepseq(1, 4, 3)
414- instance NFData NExpr
415- #endif
416-
417401$ (deriveEq1 ''NExprF)
418402$ (deriveEq1 ''NString)
419403$ (deriveEq1 ''Binding)
0 commit comments