As of #157 we use our own internal Haskell AST, but we still use haskell-src-exts to generate a standalone Haskell file. To some degree this is helpful, as it provides us with a type-level sanity check of the Haskell code we are rendering. However, haskell-src-exts doesn't quite support everything we need; for example, it does not support CTYPE newtype annotations. We'll therefore have to eventually replace it or patch it.
As of #157 we use our own internal Haskell AST, but we still use
haskell-src-exts
to generate a standalone Haskell file. To some degree this is helpful, as it provides us with a type-level sanity check of the Haskell code we are rendering. However,haskell-src-exts
doesn't quite support everything we need; for example, it does not supportCTYPE
newtype annotations. We'll therefore have to eventually replace it or patch it.