This was an interesting experiment, but because elm-syntax-dsl doesn't currently support comments in the body of functions, this would be a degradation of the current user experience.
So I'm going to stick with the current custom code generation through string concatenation, which is working quite well with the comprehensive end-to-end test suite.
This was an interesting experiment, but because elm-syntax-dsl doesn't currently support comments in the body of functions, this would be a degradation of the current user experience.
https://github.com/the-sett/elm-syntax-dsl/issues/18
So I'm going to stick with the current custom code generation through string concatenation, which is working quite well with the comprehensive end-to-end test suite.