[go: up one dir, main page]

WIP: Lwt-result-stdlib meta-MR

Meta-MR:


This meta-MR introduces tezos-lwt-result-stdlib, a library with Set, Map and other collections that are similar to Stdlib's but

  • without any exceptions and
  • with support for error, lwt, and combined error-lwt monad traversal.

The ultimate aim is to shadow the Stdlib's version to enforce use of the error monad.

future steps

  • Add support Lwtreslib in the protocol environment
  • Increase shadowing of the Stdlib:
    • Option
    • Array
    • Seqlwt (a Seq-like module that has more integration with Lwt, this should allow to have a lazy map) (Wouldn't Lwt_stream suffice?)
    • Queue
  • make the trace abstract/private (to prevent #864 from ever happening) with generic enough combinators (seuqntial for tracing, concurrent for combining)
  • Absorb TzString and TzList extensions possibly?
Edited by Raphaël Proust

Merge request reports

Loading