You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably this list will grow over time, but will be useful to have a basic starting set. Sources of inspiration:
Some of the c2hs patterns could potentially be implemented as regular Haskell abstractions (to be used with the generated low-level bindings), such as default marshallers (monadic/scoped such as withCString, or pure), mapping a single Haskell argument to multiple C arguments (e.g. withCStringLen), etc.
Probably this list will grow over time, but will be useful to have a basic starting set. Sources of inspiration:
c2hs
patterns could potentially be implemented as regular Haskell abstractions (to be used with the generated low-level bindings), such as default marshallers (monadic/scoped such aswithCString
, or pure), mapping a single Haskell argument to multiple C arguments (e.g.withCStringLen
), etc.greencard
(tracking this at Look atgreencard
#62)These abstractions could take the form of regular functions, or perhaps clever type classes (to deal with a variable number of arguments), etc.
The text was updated successfully, but these errors were encountered: