mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Unpack the package & module info.
This commit is contained in:
parent
8e8c3b8476
commit
b9a57e40bf
@ -4,8 +4,8 @@ import Data.Abstract.Module
|
|||||||
import Data.Abstract.Package
|
import Data.Abstract.Package
|
||||||
|
|
||||||
data Origin term = Origin
|
data Origin term = Origin
|
||||||
{ originPackage :: PackageInfo
|
{ originPackage :: {-# UNPACK #-} PackageInfo
|
||||||
, originModule :: ModuleInfo
|
, originModule :: {-# UNPACK #-} ModuleInfo
|
||||||
, originTerm :: term
|
, originTerm :: term
|
||||||
}
|
}
|
||||||
deriving (Eq, Foldable, Functor, Ord, Show, Traversable)
|
deriving (Eq, Foldable, Functor, Ord, Show, Traversable)
|
||||||
|
Loading…
Reference in New Issue
Block a user