Closed justinlubin closed 1 year ago
Superseded by #29.
Actually, this is not superseded by #29. Replacing pull_out_cases
with generalized catamorphisms must come after generalized catamorphisms are implemented!
In particular, after #29 is implemented, we will be able to treat pull_out_cases
as normal catamorphism fusion without worrying about "foldr over sums" vs. "foldr over lists".
Implemented by #39.
Could be foldr over sums. (foldr over list would be separate because maybe we don't want to represent lists as sums.)