
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@mostly-adequate/support
Advanced tools
Support functions and data-structures from the Mostly Adequate Guide to Functional Programming
This package contains all functions and data-structure referenced in the appendixes of the Mostly Adequate Guide to Functional Programming.
These functions have an educational purpose and aren't intended to be used in any production environment. They are however, a good learning material for anyone interested in functional programming.
The package is available on npm
and can be installed via the following incantation:
npm install @mostly-adequate/support
There's no particular structure to the module, everything is flat and exported
from the root (the curious reader may have a quick glance at the index.js
to
get convinced about this).
Also, all top-level functions are curried so you don't have to worry about calling
curry
on any of them.
For example:
const { Maybe, liftA2, append, concat, reverse } = require('@mostly-adequate/support');
const a = Maybe.of("yltsoM").map(reverse);
const b = Maybe.of("Adequate").map(concat(" "));
liftA2(append)(b)(a);
// Just("Mostly Adequate")
FAQs
Support functions and data-structures from the Mostly Adequate Guide to Functional Programming
The npm package @mostly-adequate/support receives a total of 20 weekly downloads. As such, @mostly-adequate/support popularity was classified as not popular.
We found that @mostly-adequate/support demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.