Skip to content

Draft: Add a CStream compatibility module.

Kim Nguyễn requested to merge stream-compat-for-4.14.0 into main

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.

Edited by Kim Nguyễn

Merge request reports