Safe Haskell | None |
---|
- type Dictionary = Map String [Dynamic]
- all_externals :: [External] -> [External]
- dictionary :: [External] -> Dictionary
- pp_dictionary :: Map String (PrettyOptions -> PrettyH Core)
- metaCmd :: Tag a => [External] -> a -> ([RewriteH Core] -> RewriteH Core) -> RewriteH 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 Dynamic
s.
Looking up a Dynamic
(via a String
key) returns a list, as there can be multiple Dynamic
s with the same name.
all_externals :: [External] -> [External]Source
dictionary :: [External] -> DictionarySource
Create a dictionary from a list of External
s.
pp_dictionary :: Map String (PrettyOptions -> PrettyH Core)Source
The pretty-printing dictionaries.