Safe Haskell | None |
---|
- type Dictionary = Map String [Dynamic]
- externals :: [External]
- mkDict :: [External] -> Dictionary
- pp_dictionary :: Map String (PrettyOptions -> PrettyH CoreTC)
- bashR :: [External] -> RewriteH Core
- bashDebugR :: Bool -> [External] -> 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.
mkDict :: [External] -> DictionarySource
Create a dictionary from a list of External
s.
pp_dictionary :: Map String (PrettyOptions -> PrettyH CoreTC)Source
The pretty-printing dictionaries.