@frjs/overture v0.1.0
- Overture
A Javascript library that provides the very basics for functional programming.
Overture attempts to be compatible with the [https://github.com/fantasyland/fantasy-land], but does not implement the full specification.
** Usage
Overture uses a simplified module system to allow you to import just those modules you actually use. To avoid a complex nested package hierarchy, modules can be imported from ~overture/modules~.
#+BEGIN_EXAMPLE import {id} from "overture/modules/core"; #+END_EXAMPLE
To use built-ins (like ~Array~ and ~Promise~) as type classes, their implementation can be patched. This is opt-in; Overture runs no side effects on import.
#+BEGIN_EXAMPLE import {patchBuiltins} from "overture/modules/patches"; ... patchBuiltins(); #+END_EXAMPLE
** License
Copyright 2019, Bart Bakker.
This software is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 years ago