darklang / tablecloth

A standard library with the same API in F#, Rescript and OCaml

Home Page:https://www.tablecloth.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multiple versions of Base/OCaml/Bucklescript

pbiggar opened this issue · comments

There are several major versions of ocaml, base, and bucklescript in the wild. Clearly, if we are going to wrap them we need some kind of story for how to handle this.

This is affecting users and contributors: #176, #177, #163, #141, #175.

One option is to only support the latest of each, allowing older versions of the library to be used for older upstream versions. I think considering this has a slower update frequency than some of the upstream libraries, this isn't necessarily great. Also, many people use these old versions, myself included.

To support multiple versions, we would need to:

  • add CircleCI build matrix support to test on multiple versions
  • move dependencies to be build dependencies
  • provide accurate ranges of what we support in opam
  • update README with what we support