Draft: Add a CStream compatibility module.
The Stream module is removed from OCaml starting with version 4.14.0.
This MR is split in two commits. The first commit introduces the compatibility module CStream
.
It can be referenced from outside the compiler via Cduce_lib.CStream
or even :
module Stream = Cduce_lib.CStream
The second commit makes use of this module everywhere in the compiler. The only remaining occurrences are in the old/
directory that contains deprecated and unused code, and in a comment in the unused file tools/validate.ml
.