HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
MostlyAdequate
mostly-adequate-guide
JavaScript2015–2024
MostlyAdequate / mostly-adequate-guide

mostly-adequate-guide

Mostly adequate guide to FP (in javascript)

23Distinct people
27Mentions
4Explicit recommenders
23.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Mostly adequate guide to FP (in javascript)

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

This is always my favorite: Professor Frisby's Mostly Adequate Guide to Functional Programming [1] [1] : https://github.com/MostlyAdequate/mostly-adequate-guide

longnguyen used a recommendation phrase. 4 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 5:03:38 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year27 dated mentions

Observed mentions: 2015-07-14 03:50:22 UTC to 2024-11-22 20:49:58 UTC.

02462015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 6 mentions; 4 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC642
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC101
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC606
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC321
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC303
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC211
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211

What Hacker News says

2 sources
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...
In Ask HN: Hey Functional Programmers, how did you learn functional programming
There are a good deal of resources explaining these concepts in non-Haskell languages. This one is quite good and in javascript: https://github.com/MostlyAdequate/mostly-adequate-guide As far as functors this could be rephrased more comprehensibly to those unfamiliar with Haskell as "What is a Functor, really? Functor is an interface here are some definitions:" (typescript) interface ArrayFunctor<A, B> { map: (f: ((a: A) -> B), arr: Array<A>) -> Array<B> } interface PromiseFunctor<A, B> { map: (f: ((a: A) -> B), arr: Promise<A>) -> Promise<B> } interface ObservableFunctor<A, B> { map: (f: ((a: A) -> B), arr: Observable<A>) -> Observable<B> } "definitions" is plural here because typescript doesn't support higher-kinded types or else it might look like this: interface Functor<F, A, B> { map: (f: ((a
Read the rest
: A) -> B), arr: F<A>) -> F<B> } (note, there are ways around this used in the fp-ts library, see here: https://www.matechs.com/blog/encoding-hkts-in-ts4-1) > I actually do understand some useful subset of what Monads are and I just don't know it This is certainly the case if you have ever used flatMap on an array or chained Promises (or other async structures like futures in other langs).
In Functors, Applicatives, and Monads in Pictures (2013)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.