Skip to content

Instantly share code, notes, and snippets.

@fendor
Created June 25, 2020 18:20
Show Gist options
  • Save fendor/dce9d487125e4113eef470de5ea498b8 to your computer and use it in GitHub Desktop.
Save fendor/dce9d487125e4113eef470de5ea498b8 to your computer and use it in GitHub Desktop.
> ghc --show-iface A.hi
Magic: Wanted 33214052,
got 33214052
Version: Wanted 811020200619,
got 811020200619
Way: Wanted [],
got []
interface A 811020200619
interface hash: 120b821b3411beeb07e93a2bc9f9e1fb
ABI hash: d5211d2744c739022b3b8359f5964daa
export-list hash: f77e504f8626258f13c64ea4160e3b1c
orphan hash: 693e9af84d3dfcc71e640e005bdc5e2e
flag hash: 502d9a7549b9621f202f4817c3160ab3
opt_hash: 11957ca83b55c76066b49afbc18192d6
hpc_hash: 93b885adfe0da089cdf634904fd59f71
plugin_hash: ad164012d6b1e14942349d58b1132007
sig of: Nothing
used TH splices: False
where
exports:
a
main
module dependencies:
package dependencies: base-4.15.0.0* componentB ghc-bignum-1.0
ghc-prim-0.6.1
orphans: GHC.Float GHC.Base
family instance modules: Control.Applicative Control.Arrow
Data.Functor.Const Data.Functor.Identity Data.Monoid
Data.Semigroup.Internal GHC.Generics GHC.IO.Exception
import -/ Prelude 3025dfd2fccc0837cefd0439755424a1
import -/ System.IO b5496ac8c2be9612e4fda2b9473d9d33
import -/ B 95e084dccc265dbc15d79b80368838eb
import -/ GHC.Types 421c1f4e18340e0501ec304aba2525e3
5a1e9f18a85d18e1e1820009ea704b3d
$trModule :: GHC.Types.Module
[]
0ac7221eecc09e9641700002bf7f8d94
a :: GHC.Num.Integer.Integer
[]
62dce46b3331ed14795d95dc8aedd36e
main :: GHC.Types.IO ()
[]
trusted: safe-inferred
require own pkg trusted: False
module header:
Nothing
declaration docs:
arg docs:
extensible fields:
> ghc --show-iface B.hi
Magic: Wanted 33214052,
got 33214052
Version: Wanted 811020200619,
got 811020200619
Way: Wanted [],
got []
interface B 811020200619
interface hash: b90096ca0a1713f098e1a1172acefbdd
ABI hash: 69e47fc932f9a7ddffcf07ebfeaa6b40
export-list hash: cc98a250463a636e15612f0e8fb33a79
orphan hash: 693e9af84d3dfcc71e640e005bdc5e2e
flag hash: 781486ca9d9df912bb4c4786774e6c40
opt_hash: 11957ca83b55c76066b49afbc18192d6
hpc_hash: 93b885adfe0da089cdf634904fd59f71
plugin_hash: ad164012d6b1e14942349d58b1132007
sig of: Nothing
used TH splices: False
where
exports:
bar
module dependencies:
package dependencies: base-4.15.0.0* ghc-bignum-1.0 ghc-prim-0.6.1
orphans: GHC.Float GHC.Base
family instance modules: Control.Applicative Control.Arrow
Data.Functor.Const Data.Functor.Identity Data.Monoid
Data.Semigroup.Internal GHC.Generics GHC.IO.Exception
import -/ Prelude 3025dfd2fccc0837cefd0439755424a1
443ceb4200d0cef0211d45699f56ad8d
$trModule :: GHC.Types.Module
[]
63849fd9d899b93563956d36ea6321fa
bar :: GHC.Num.Integer.Integer
[]
trusted: safe-inferred
require own pkg trusted: False
module header:
Nothing
declaration docs:
arg docs:
extensible fields:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment