RedPRL / ocaml-bwd

🔙 Backward lists for OCaml
https://ocaml.org/p/bwd
Apache License 2.0
21 stars 2 forks source link

Consider adding back `concat` (`flatten`) and `concat_map` #18

Closed favonia closed 1 year ago

favonia commented 1 year ago

Previously we decided to deprecate concat, but it seems useful to collapse 'a bwd bwd to 'a bwd when backward lists are used as accumulators.

favonia commented 1 year ago

Actually, I might found a possibly better way to write my code without using concat.