| Safe Haskell | None |
|---|
Language.HERMIT.Dictionary
Contents
- type Dictionary = Map String [Dynamic]
- all_externals :: [External] -> [External]
- dictionary :: [External] -> Dictionary
- pp_dictionary :: Map String (PrettyOptions -> PrettyH Core)
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.
all_externals :: [External] -> [External]Source
dictionary :: [External] -> DictionarySource
Create a dictionary from a list of Externals.
pp_dictionary :: Map String (PrettyOptions -> PrettyH Core)Source
The pretty-printing dictionaries.