cryptol-2.2.5: Cryptol: The Language of Cryptography

Copyright(c) 2013-2015 Galois, Inc.
LicenseBSD3
Maintainercryptol@galois.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Cryptol.ModuleSystem.Interface

Description

 

Synopsis

Documentation

data Iface Source

The resulting interface generated by a module that has been typechecked.

Instances

Show Iface Source 
BindsNames Iface Source

Produce a naming environment from an interface file, that contains a mapping only from unqualified names to qualified ones.

data IfaceDecls Source

Instances

Show IfaceDecls Source 
Monoid IfaceDecls Source 
BindsNames IfaceDecls Source

Translate a set of declarations from an interface into a naming environment.

shadowing :: IfaceDecls -> IfaceDecls -> IfaceDecls Source

Like mappend for IfaceDecls, but preferring entries on the left.

interpImport :: Import -> Iface -> Iface Source

Interpret an import declaration in the scope of the interface it targets.

genIface :: Module -> Iface Source

Generate an Iface from a typechecked module.