haskell / haskell/c2hs

Is it possible to have C2HS know the "type" definition?

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

Description

Many types have builtin marshallers, like Int, Double. But if I had `type X = Double`, then I had to give explicit marshaller when using X.

Is it possible to have C2HS remember the type "X" somehow, and generate code just like it was "Double"?

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.