rationale

GitHub Support CommunityModel interpretability

Rationale is inspired by RamdaJS. It is a collection of helper utility functions that are absent in the OCaml/ReasonML standard library.

Note that not all of Ramda was ported over, as many of Ramda’s utilities are making up for deficits in Javascript, which Reason doesn’t have. Furthermore, many of the functions that operate on objects, simply don’t make sense in Reason.

Features

Exception-free List operations
In the OCaml/ReasonML standard library, many of the common List operations throw exceptions if there’s a problem. Rationale’s utilities do not throw exceptions, and instead return options.

head
tail
init
last
nth
etc

Official website

Tutorial and documentation

Enter your contact information to continue reading