fantasy-laws
static-land
Our great sponsors
fantasy-laws | static-land | |
---|---|---|
1 | 3 | |
33 | 766 | |
- | 0.4% | |
3.9 | 0.0 | |
over 2 years ago | over 4 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fantasy-laws
-
Should I Move From PHP to Node/Express?
There are respective fantasy land and static land specs, with the law conformance checks.
static-land
-
Should I Move From PHP to Node/Express?
There are respective fantasy land and static land specs, with the law conformance checks.
-
Expanding Single Page Apps into multiple Browser Windows — Part 2
A big poster child of functional style in JS-land is actually implemented on top of textbook OOP (Array.prototype.map/filter). For anyone interested in the gore details of functional polymorphism, look no further than the comparison between fantasy land and static land. Basically, it boils down to a simple fact: functional algebra constructs can be implemented in terms of other functional algebra constructs, but when push comes to shove, the most efficient Array map implementation is not going to be the same thing as a map implementation for any other data structure (Stream, Optional, whatever) and you can't have a magical compiler optimize under the hood for you in Javascript, because well, Javascript. So functional polymorphism has to be shoved somewhere, and as it turns out OOP happens to be a good complement for that conundrum.
-
Higher Kinded Deno
My goal with hkts is two-fold. First, to learn more about functional programming by implementing some common type classes (specifically, the ones defined in the static-land spec). Second, to put together a pragmatic, easy to read/understand library of tools based on fp-ts, io-ts, and monocle-ts that are deno native.
What are some alternatives?
RxPHP - Reactive extensions for PHP
hkts - Functional programming tools: option, either, task, state, optics, etc.
fp-ts - Functional programming in TypeScript
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
cats-effect - The pure asynchronous runtime for Scala
FS2 - Compositional, streaming I/O library for Scala
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.