cryptol-2.2.2: Cryptol: The Language of Cryptography

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

Cryptol.ModuleSystem.Interface

Description

 

Synopsis

Documentation

data Iface Source

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

Instances

Show Iface 
BindsNames Iface

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 
Monoid IfaceDecls 
BindsNames IfaceDecls

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

data IfaceDecl Source

Constructors

IfaceDecl 

Instances

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.