Closed joshsh closed 1 year ago
Support has been added to the Haskell DSL and the Haskell serde. Still TODO:
Inference support for recursive 'let' terms has been completed in the branch. Using "let" syntax in Haskell instead of "where", which requires some additional refinements to the coder and serde.
Recursive 'let' is now fully supported in generated Haskell. Last TODO is Java support.
Btw. Java support is now there, as well. Working through a problem with type annotations which appears to happen in spite of correct inference for 'let' terms. Should be possible to close this ticket after that is fixed.
Similar to #68 (Flow support), we need support for let-terms (inner definitions) in the Haskell DSL, with corresponding support in generated Haskell and Java. Only the simplest functions can make do without inner definitions ("where" / local variables).