This may very well already work perfectly. If that's the case, we should just document it and maybe add a test. If it doesn't work, we should make it possible.
The Elm example uses nested comments as their recursive structure. They have a special helper function (lazy), but that might be because their decoders have a newtype wrapper, while ours are functions (and might be more naturally lazy as a result?).
This may very well already work perfectly. If that's the case, we should just document it and maybe add a test. If it doesn't work, we should make it possible.
The Elm example uses nested comments as their recursive structure. They have a special helper function (
lazy), but that might be because their decoders have a newtype wrapper, while ours are functions (and might be more naturally lazy as a result?).