haskell / haskell/c2hs

About C2HS generated ccall-s.

Open
#222 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
211
Forks
52
PR merge metrics
No merged PRs in 30d

Description

I think C2HS tends to ease the process of writing of FFI. And it provides a **^** in fun so I do not need to care about the naming. This is all cool.

But since C2HS generates all ccall-s with name'_ in the same module, I must either write a exporting list, which includes all the names I did not care, or show some weird things in IDE intelligent sense or doc by haddock.

Could C2HS also take care of this? I can think of two ways. One, provide a syntax for exporting list. Two, move all ccall-s into another module like STH.Internal.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.