leostera / caramel

:candy: a functional language for building type-safe, scalable, and maintainable applications
https://caramel.run
Apache License 2.0
1.06k stars 25 forks source link

v0.1 - Standard Library on the BEAM #8

Closed leostera closed 4 years ago

leostera commented 4 years ago

Summary

While #6 is about getting support for a set of OCaml language features, this issue is about putting together a standard library that can be used to interface with the Erlang standard library in a more-or-less idiomatic way.

This likely means 2 things: FFIs and a small runtime library. Some modules might be a combination of both.

Checklist

FFIs

In any case, some of these modules will have to break direct compatibility with their Erlang equivalents due to their APIs being uncomfortably unidiomatic OCaml or untypeable in OCaml.

Runtime

These are libraries that actually need the runtime overhead to satisfy some of the type-level constraints.

leostera commented 4 years ago

This seems good as it is right now. We'll open a new issue to collect missing FFIs before we tag v0.1