static-land
mostly-adequate-guide
static-land | mostly-adequate-guide | |
---|---|---|
3 | 20 | |
766 | 23,177 | |
0.4% | 0.2% | |
0.0 | 6.2 | |
over 4 years ago | 5 months ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
mostly-adequate-guide
- Mostly adequate guide to Functional Programming (in JavaScript)
-
Anyone use Git for writing projects?
This project might serve as inspiration: https://github.com/MostlyAdequate/mostly-adequate-guide
-
[AskJS] Is there a website out there for learning functional programming in javascript?
i like reading this book directly from github with dark mode, also the subheading don't work in the gitbook website and gitbook is abandoned, here's the github link: https://github.com/MostlyAdequate/mostly-adequate-guide/blob/master/SUMMARY.md
- FE devs, ceva sfaturi pentru un junior?
- How do you run an effective clean code book club, and looking for homework ideas?
- [AskJS] object oriented or functional , which one you guys oftenly use while writing code in vanilla JavaScript?
-
FP techniques that will help you write better JavaScript
It’s been a while since I focused on FP, but I recall finding this useful quite often and gleaning the concepts from it relatively easily.
https://github.com/MostlyAdequate/mostly-adequate-guide
I found a lot of articles like the OP, and ultimately they left me confused about the benefits in the beginning. I found it more useful to avoid one off articles and dig into larger pieces of work where the author put in much more care.
-
Help an old OO developer figure out current practices for structuring server side javascript?
On the book front, there are two that I am fond of which have a focus on JavaScript and FP, Professor Frisby’s Mostly Adaquate Guide, and Functional Light JavaScript. They are nice practical books that help you lean into JS’s strength as an FP language while writing real code.
-
Ask HN: Hey Functional Programmers, how did you learn functional programming
So, this is going to be an uphill battle for you. I suggest you actually learn Haskell first, and then you'll be able to apply its lessons to TypeScript.
Its tricky because these are patterns that are familiar in Haskell but are not really taught in other settings.
Additionally, to really learn these, you need to experiment with them. Use them. etc. That's pretty hard to do if the learning resources are mostly in haskell and you don't really understand it.
Alternatively, this might help: https://github.com/MostlyAdequate/mostly-adequate-guide
Also alternatively, what I would do is just go slowly through the fp-ts code. Look at it a piece at a time and slowly grow your understanding.
This may also help https://www.amazon.com/Domain-Modeling-Made-Functional-Domai...
- What is your most controversial Python-related opinion?
What are some alternatives?
hkts - Functional programming tools: option, either, task, state, optics, etc.
fp-ts-std - The missing pseudo-standard library for fp-ts.
RxPHP - Reactive extensions for PHP
functional-programming-jargon - Jargon from the functional programming world in simple terms!
fantasy-laws - Property-based tests for FL-compatible ADTs
fp-ts - Functional programming in TypeScript
cats-effect - The pure asynchronous runtime for Scala
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
gleam - ⭐️ A friendly language for building type-safe, scalable systems!