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
Sorry, I could not think of a more meaningful title right now. The case I talked about is:
Normally, in Haskell world, action requires finalizer or safe guard would be wrapped in withSomething function, like System.IO.withFile. C2HS also uses this naming style causes conflicts when I want to make such wapper without exposing the raw function bindings.
I have to use an "Internal" module containing raw bindings and import the type and marshaller. And another module containing my wrapper and import only type and bindings. Kind of unnecessary.
The text was updated successfully, but these errors were encountered:
Sorry, I could not think of a more meaningful title right now. The case I talked about is:
Normally, in Haskell world, action requires finalizer or safe guard would be wrapped in withSomething function, like
System.IO.withFile
. C2HS also uses this naming style causes conflicts when I want to make such wapper without exposing the raw function bindings.I have to use an "Internal" module containing raw bindings and import the type and marshaller. And another module containing my wrapper and import only type and bindings. Kind of unnecessary.
The text was updated successfully, but these errors were encountered: