mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
We don’t actually need the functional dependency here.
This commit is contained in:
parent
34f2f04931
commit
9ef31e03ec
@ -1,4 +1,4 @@
|
||||
{-# LANGUAGE MultiParamTypeClasses, TypeFamilyDependencies #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses, TypeFamilies #-}
|
||||
module Data.Abstract.Address where
|
||||
|
||||
import Data.Abstract.FreeVariables
|
||||
@ -25,7 +25,7 @@ newtype Monovariant = Monovariant { unMonovariant :: Name }
|
||||
|
||||
class AbstractLocation location where
|
||||
-- | The type into which stored values will be written for a given location type.
|
||||
type family Cell location = (res :: * -> *) | res -> location
|
||||
type family Cell location :: * -> *
|
||||
|
||||
instance AbstractLocation Precise where
|
||||
type Cell Precise = Latest
|
||||
|
Loading…
Reference in New Issue
Block a user