Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakehamilton/uquill
A utility library
https://github.com/jakehamilton/uquill
Last synced: 19 days ago
JSON representation
A utility library
- Host: GitHub
- URL: https://github.com/jakehamilton/uquill
- Owner: jakehamilton
- Created: 2017-10-04T20:24:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T05:44:45.000Z (over 7 years ago)
- Last Synced: 2024-11-06T19:16:02.749Z (2 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uQuill
A functional utility library
----
### Why does this exist?
I'm trying to learn the in's and out's of functional programming, so I'm
creating this library in an attempt to better understand the fundamentals.### Is this compatible with the [Fantasy Land spec](https://github.com/fantasyland/fantasy-land)?
At this time, no. Plans are to fall in line with the specification once
I've understood how the internals work.### How do I use this?
The project is written using the es2015 module system. Currently, the best
approach is to use `@std/esm` in node:##### index.js
```js
require('@std/esm')(module)('./app.mjs')
```##### app.mjs
```js
// default import
import uquill from 'uquill'// named imports
import {
compose,Either,
Left,
Right,Task
} from 'uquill'
``````shell
npm i -S uquill @std/esmnode index.js
```