mirror of
https://github.com/github/semantic.git
synced 2024-12-30 02:14:20 +03:00
Add superclass constraints to AbstractLocation.
This commit is contained in:
parent
c1f3bd5711
commit
a391268efe
@ -23,7 +23,7 @@ newtype Monovariant = Monovariant { unMonovariant :: Name }
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
|
||||
class AbstractLocation location where
|
||||
class (Foldable (Cell location), Ord location) => AbstractLocation location where
|
||||
-- | The type into which stored values will be written for a given location type.
|
||||
type family Cell location :: * -> *
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user