Right now we use Seq.* namespace unhygienically, which as a pro/con allows users to override with their custom Seq module.
An alternative would be to introduce better hygiene (maybe Ppx_seq.Stdlib.Seq.*?) to make overriding the module harder, and the behaviour more consistent.
The problem with this is probably that now ppx_seq becomes a runtime, not a compile time, dependency.
This is open for suggestions as my experience with large OCaml codebases is Seq.Nil.
Right now we use
Seq.*namespace unhygienically, which as a pro/con allows users to override with their customSeqmodule.An alternative would be to introduce better hygiene (maybe
Ppx_seq.Stdlib.Seq.*?) to make overriding the module harder, and the behaviour more consistent.The problem with this is probably that now ppx_seq becomes a runtime, not a compile time, dependency.
This is open for suggestions as my experience with large OCaml codebases is
Seq.Nil.