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
It would be really cool if inline-c could do some stuff that we use hsc2hs for currently, ie. sizeOf and friends. It would remove the need to include stuff twice and would be much nicer with template haskell than the print-out-the-whole-source-with C approach.
The text was updated successfully, but these errors were encountered:
Yes, that's what I meant. It would be nice because it would ensure that it runs in the same C environment as the inline-c code, and it would be much more extensible than hsc's macro hacks.
hsc2hs can do things like splice into import lists and even emit additional haskell language directives above the very module signature, because all it is doing is building a c program that will print a haskell program. It does its work on source text, not template-haskell.
It would be really cool if inline-c could do some stuff that we use hsc2hs for currently, ie. sizeOf and friends. It would remove the need to include stuff twice and would be much nicer with template haskell than the print-out-the-whole-source-with C approach.
The text was updated successfully, but these errors were encountered: