promises-spec
purescript
promises-spec | purescript | |
---|---|---|
22 | 52 | |
1,831 | 8,464 | |
0.2% | 0.4% | |
0.0 | 6.5 | |
9 months ago | 18 days ago | |
Haskell | ||
Creative Commons Zero v1.0 Universal | BSD 3-clause "New" or "Revised" 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.
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
purescript
- Learning Elm by porting a medium-sized web front end from React (2019)
- Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
-
Building React Components Using Unions in TypeScript
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
-
Is there a better way to do read-only types
Unless you want to switch to https://www.purescript.org/.
-
Why I'm Leaving Elm
PureScript[1][2] seems pretty alive these days. From my relatively small, self-contained experiments, it's a lot more flexible and expressive than Elm at the expense of (maybe?) being a bit harder to learn up-front.
[1]: https://www.purescript.org/
[2]:https://github.com/purescript/purescript
- (strongly typed) functional language compilers running in browser
-
purescript VS purs-eval - a user suggested alternative
2 projects | 2 Mar 2023
- Por que Elm é uma linguagem tão deliciosa?
-
I will die on this hill (curve)
*cough* I mean Purescript.
-
My main beef with Haskell/JS
Assuming this is a PS knock, fwiw this went away a good bit ago: https://github.com/purescript/purescript/releases/tag/v0.14.2
What are some alternatives?
proposal-symbol-thenable
fp-ts - Functional programming in TypeScript
q - A promise library for JavaScript
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
zx - A tool for writing better scripts
elm-reactor
proposal-set-methods - Proposal for new Set methods in JS
Elm - Compiler for Elm, a functional language for reliable webapps.
cats-effect - The pure asynchronous runtime for Scala
rescript-compiler - The compiler for ReScript.
fantasy-land - Specification for interoperability of common algebraic structures in JavaScript
Idris2 - A purely functional programming language with first class types