We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b252fe8 commit f5276beCopy full SHA for f5276be
src/JbeamEdit/Formatting/Rules.hs
@@ -61,6 +61,7 @@ newtype NodePattern
61
#ifdef READ_INSTANCES
62
deriving instance Read NodePattern
63
deriving instance Read NodePatternSelector
64
+deriving instance Read RuleSet
65
#endif
66
67
instance Monoid RuleSet where
@@ -171,7 +172,7 @@ type Rule = Map SomeKey SomeProperty
171
172
173
newtype RuleSet
174
= RuleSet (Map NodePattern Rule)
- deriving stock (Eq, Read, Show)
175
+ deriving stock (Eq, Show)
176
177
lookupProp :: (Eq a, Read a, Show a) => PropertyKey a -> Rule -> Maybe a
178
lookupProp targetKey m =
0 commit comments