File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,11 @@ type NAttrPath r = NonEmpty (NKeyName r)
318318
319319-- ** @Binding@
320320
321+ #if !MIN_VERSION_hashable(1,3,1)
322+ -- Required by Hashable Binding deriving. There was none of this Hashable instance before mentioned version, remove this in year >2022
323+ instance Hashable1 NonEmpty
324+ #endif
325+
321326-- | A single line of the bindings section of a let expression or of a set.
322327data Binding r
323328 = NamedVar ! (NAttrPath r ) ! r ! SourcePos
@@ -522,11 +527,6 @@ data NExprF r
522527instance IsString NExpr where
523528 fromString = Fix . NSym . fromString
524529
525- #if !MIN_VERSION_hashable(1,3,1)
526- -- Required by Hashable NExprF. There was none this Hashable before, remove this in year >2022
527- instance Hashable1 NonEmpty
528- #endif
529-
530530
531531-- *** @NExpr@
532532
You can’t perform that action at this time.
0 commit comments