Replies: 3 comments 1 reply
-
This is a snippet showing how to use that generated C code integration. |
Beta Was this translation helpful? Give feedback.
-
By the way, we have |
Beta Was this translation helpful? Give feedback.
-
experimented #69 and now created an issue #71 |
Beta Was this translation helpful? Give feedback.
-
It would be very convenient if auto-generated C code is automatically embedded into Haskell modules and ready for the use as FFI function on user's side.
This is possible in Template Haskell using https://hackage.haskell.org/package/template-haskell-2.18.0.0/docs/Language-Haskell-TH-Syntax.html#v:addForeignSource (this is how inline-c works)
Let's discuss about whether and how to support such utility functions.
Beta Was this translation helpful? Give feedback.
All reactions