Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Construct a map from C identifiers to the corresponding Haskell elements in the bindings.
Documentation
cToHaskellMap :: [(Name, API)] -> Map CRef Hyperlink Source #
Given a set of APIs, build a Map
that given a Text
corresponding to a certain C identifier returns the corresponding
Haskell element in the bindings. For instance, gtk_widget_show
will get mapped to show
.
Link to an identifier, module, etc.
ValueIdentifier Text | An identifier at the value level: functions, data constructors, ... |
TypeIdentifier Text | An identifier at the type level. |
ModuleLink Text | Link to a module. |
ModuleLinkWithAnchor (Maybe Text) Text Text | Link to an anchor inside a given module, with an optional label. |