mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
📝 LocationFor.
This commit is contained in:
parent
656bab23dc
commit
06669a158e
@ -70,6 +70,7 @@ instance Ord1 String where liftCompare = genericLiftCompare
|
|||||||
instance Show1 String where liftShowsPrec = genericLiftShowsPrec
|
instance Show1 String where liftShowsPrec = genericLiftShowsPrec
|
||||||
|
|
||||||
|
|
||||||
|
-- | The location type (the body of 'Address'es) which should be used for an abstract value type.
|
||||||
type family LocationFor value :: * where
|
type family LocationFor value :: * where
|
||||||
LocationFor (Value location term) = location
|
LocationFor (Value location term) = location
|
||||||
LocationFor Type.Type = Monovariant
|
LocationFor Type.Type = Monovariant
|
||||||
|
Loading…
Reference in New Issue
Block a user