cats
promises-spec
Our great sponsors
cats | promises-spec | |
---|---|---|
4 | 22 | |
940 | 1,830 | |
0.0% | 0.2% | |
3.2 | 0.0 | |
about 2 years ago | 9 months ago | |
Clojure | ||
BSD 2-clause "Simplified" License | Creative Commons Zero v1.0 Universal |
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.
cats
-
A Lisp flavored language which let's you program in cats' language
:'D https://github.com/funcool/cats
-
Understanding "advanced" functional programming concepts (preferably in Java)
There are monad libraries for clojure https://github.com/funcool/cats, but they are more niche
-
Monads for Clojure Programmers
You can have monads in clojure (eg: http://funcool.github.io/cats/latest/#monad) but the problem I see is that they are infectious and kinda force you to use them everywhere. In other languages, it's more palatable because the compiler checks for types, and normally there is some sugar to make it easier on the eyes.
-
Starting out with a Typescript role, any killer library recommendations I should know about?
Oh yeah, I usually find a similar library when I'm writing a program; e.g. funcool/cats in clojure
promises-spec
-
Implement Promises/A+ from scratch
Today, I tried implementing Promises/A+ from scratch to test my coding skill. In the process, I’ve crafted this guide to share my insights and experiences with those who share a similar interest. Without further ado, let’s dive in.
-
Using XPath in 2023
That made me chuckle.
For those not familiar with the promise design controversy:
http://brianmckenna.org/blog/category_theory_promisesaplus
https://github.com/promises-aplus/constructor-spec/issues/24
https://github.com/promises-aplus/promises-spec/issues/94
-
Why is JavaScript so hated?
If you really want to go down the rabbit hole on this one, start here
-
What the imperative shell of an Functional Core/Imperative Shell language looks like
Advantage 1, nesting, is the most important here, and it's often the most-overlooked advantage. Overlooking nesting is how Promises in Javascript got to be fundamentally broken.
-
[AskJS] Is JavaScript missing some built-in methods?
Have you read the infamous GitHub thread where people tried to fix this before it got finalized? It's quite a trip
-
This typo lasted several pomodoro sessions.
1.) JS implementation of Promise is not a monad. See this StackOverflow answer or this GitHub discussion for more details
-
How to implement Promise in a FAANG interview
In this article, we will go over how to implement a basic version of a promise during a FAANG interview. The standard for promise implementation is called A+, but it includes a huge amount of details, making it almost impossible to implement all of them during a one-hour coding interview. Therefore, we will focus on implementing a basic variation that should be enough to show the interviewer your solving skills.
- what object
-
Oopsy Poopsy ahahaha *sharts uncontrollably*
Hey, at least you weren't these guys: https://github.com/promises-aplus/promises-spec/issues/94
-
Haskell is the greatest programming language of all time ... the rational adult in a room full of children ... When I program in Haskell, I am in utopia. I am in a different world than 99.9% of what I see posted on Reddit.
Total carnage
What are some alternatives?
ts-auto-guard - Generate type guard functions from TypeScript interfaces
proposal-symbol-thenable
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.
q - A promise library for JavaScript
typescript-runtime-type-benchmarks - 📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
zx - A tool for writing better scripts
algo.monads - Macros for defining monads, and definition of the most common monads
proposal-set-methods - Proposal for new Set methods in JS
mewl - Mewl, program in cats' language; A just-for-fun language
cats-effect - The pure asynchronous runtime for Scala
purescript - A strongly-typed language that compiles to JavaScript
fantasy-land - Specification for interoperability of common algebraic structures in JavaScript