rewire-embedder-2.8: A ReWire-to-Isabelle embedder
Safe HaskellSafe
LanguageHaskell2010

ReWire.HSE.Exports

Description

Export-list resolution on the HSE AST, used by the embedder (Embedder.HSE.ToAtmo).

Synopsis

Documentation

data Export Source #

An intermediate form for exports. TODO(chathhorn): get rid of it.

Constructors

Export FQName 
ExportWith FQName (Set FQName) FQCtorSigs

ExportWith: Type name, ctors

ExportAll FQName 
ExportMod (ModuleName ()) 
ExportFixity (Assoc ()) Int (Name ()) 

Instances

Instances details
Show Export Source # 
Instance details

Defined in ReWire.HSE.Exports

sDeclHead :: DeclHead a -> (Name (), [TyVarBind ()]) Source #

transExport :: MonadError AstError m => Renamer -> [Decl Annote] -> [Export] -> ExportSpec Annote -> m [Export] Source #

tysynNames :: [Decl Annote] -> [Name ()] Source #

getInlines :: (Bool -> a) -> [Decl Annote] -> Map (Name ()) a Source #

Collect INLINE/NOINLINE pragmas into a map from the pragma'd name to an attribute built from the pragma's polarity (True for INLINE).