Conversation

Oh lovely! Trying to start getting my head around it. I'm wanting to try out type preserving compilation for Pikelet, at least up to ANF and Closure Conversion, using some of et al.'s work on doing it for dependent types!
2
2
In Cogent effects are all modelled with linear types, and because even linear types are preserved by ANF, effects aren't a concern on the cogent end because as far as we're concerned it's still all pure functions.
1
1
If you have a reified effect system (for example a monad or some types of algebraic effects) then the control flow that remains abstract in ANF isn't that important to the effectful computations you're composing together, so perhaps CPS doesn't buy you much over ANF there.
1
1