yafu v2.1.4
yafu
Yet another functional utility.
Purpose
yafu is a functional programming library that supplies basic useful functions for JavaScript programming. Very similar to Ramda but with a slightly different philosophy.
Key points:
curry
works a bit differently than in many other JavaScript libraries, specifically when it is the case that a curried function receives more agruments than it has declared- each function really only does one thing and one thing only
- no checking of types inside functions
- no varardic funtions
- no inspection of
arguments
(exception is thecurry
function) - no return of
null
orundefined
The idea is to be strict on these rules for the sake of being strict. This in order to see if a library like this results in better code in applications and programs where it is used.
API
For now, check the lib
folder for the available functions. Each file should contain documentation. Files starting with underscore are
private functions and not a part of the public API.
1 year ago
2 years ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago