tomland
promises-spec
Our great sponsors
tomland | promises-spec | |
---|---|---|
3 | 22 | |
121 | 1,829 | |
1.7% | 0.2% | |
5.7 | 0.0 | |
21 days ago | 9 months ago | |
Haskell | ||
Mozilla Public License 2.0 | 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.
tomland
-
[ANN] toml-reader initial release: the *only* TOML v1.0.0-compliant parser
I see, the other popular toml lib tomland doesn't support the latest version of the spec yet: https://github.com/kowainik/tomland/issues/373
-
Designing libraries in Haskell
These 2 blog posts from kowainik are great (I would love more examples in a similar style): https://kowainik.github.io/posts/2019-01-14-tomland https://kowainik.github.io/posts/2018-09-25-co-log
-
The romance of Haskell and Category Theory.
A humble example is tomland, a TOML parser. As far as I know, it is based on the ideas from this paper and previous work by /u/syrak. Again, maybe for you it is a triviality, but I find it impressive.
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
-
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?
configurator - A Haskell library supporting flexible, dynamic file-based configuration.
proposal-symbol-thenable
aws-mfa-credentials - Keep your AWS credentials file up to date with MFA-carrying temporary credentials
q - A promise library for JavaScript
yaml-config - Configuration management with YAML
zx - A tool for writing better scripts
configuration-tools - Tools for defining and parsing configurations of Haskell applications
proposal-set-methods - Proposal for new Set methods in JS
etc - Declarative configuration spec for Haskell projects
purescript - A strongly-typed language that compiles to JavaScript
htoml - TOML file format parser in Haskell
fp-ts - Functional programming in TypeScript