mirror of
https://github.com/github/semantic.git
synced 2024-12-20 05:11:44 +03:00
Reformat Located.
This commit is contained in:
parent
4c5734452a
commit
a937e0dad1
@ -8,7 +8,11 @@ import Data.Abstract.Module (ModuleInfo)
|
||||
import Data.Abstract.Package (PackageInfo)
|
||||
import Prologue
|
||||
|
||||
data Located location = Located { location :: location, locationPackage :: {-# UNPACK #-} !PackageInfo, locationModule :: {-# UNPACK #-} !ModuleInfo }
|
||||
data Located location = Located
|
||||
{ location :: location
|
||||
, locationPackage :: {-# UNPACK #-} !PackageInfo
|
||||
, locationModule :: {-# UNPACK #-} !ModuleInfo
|
||||
}
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
instance Location location => Location (Located location) where
|
||||
|
Loading…
Reference in New Issue
Block a user