1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 05:11:44 +03:00

Reformat Located.

This commit is contained in:
Rob Rix 2018-05-06 13:30:28 -04:00
parent 4c5734452a
commit a937e0dad1

View File

@ -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