hermit-0.2.0.0: Haskell Equational Reasoning Model-to-Implementation Tunnel

Safe HaskellNone

Language.HERMIT.Dictionary

Contents

Synopsis

The HERMIT Dictionary

This is the main namespace. Things tend to be untyped, because the API is accessed via (untyped) names.

type Dictionary = Map String [Dynamic]Source

A Dictionary is a collection of Dynamics. Looking up a Dynamic (via a String key) returns a list, as there can be multiple Dynamics with the same name.

externals :: [External]Source

List of all Externals provided by HERMIT.

mkDict :: [External] -> DictionarySource

Create a dictionary from a list of Externals.

pp_dictionary :: Map String (PrettyOptions -> PrettyH CoreTC)Source

The pretty-printing dictionaries.