Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmitriz/functional-examples

Examples with Functional JavaScript, following Professor Frisby's course
https://github.com/dmitriz/functional-examples

category-theory functional-js functional-programming functor monad

Last synced: 1 day ago
JSON representation

Examples with Functional JavaScript, following Professor Frisby's course

Awesome Lists containing this project

README

        

### functional-examples

## [New functional library `cpsfy`](https://github.com/dmitriz/cpsfy)

UPDATE. Check out my new advanced functional library:
https://github.com/dmitriz/cpsfy

# Examples with Functional JavaScript

Heavily annotated examples from the awesome videos
Professor Frisby Introduces Composable Functional JavaScript,
see also the discussion on Reddit and on Hacker News.

See also the wonderful e-book
Professor Frisby's Mostly Adequate Guide to Functional Programming

by the same author (See also https://github.com/MostlyAdequate/mostly-adequate-guide for the updates).

## What makes Prof. Frisby's course and book awesome?
Both course and book amazingly manage to avoid suffering from the two widespread diseases when explaining abstract functional concepts:

- The first disease is to stay with abstract artifically simplified examples that can be easily manipulated
directly without the theory, thus failing to illustrate the very benefits of the theory and abstraction.
The reader not familiar with real world uses of that abstraction is therefore struggling to appreciate its usefulness.

- The second disease is to bring complete nontrivial real world examples relying on all technical details involved,
including those not relevant to the point of the explanation. The reader not familiar with those technical details
can feel distracted if not confused.

Professor Frisby masterfully manages to navigate the reader through convincing real world examples
demonstrating real benefits of the functional abstractions with sharp focus and no distraction by unnecessary details.

## Running Examples
Install the packages with either of
```js
yarn install
npm install
```
then enter the `examples` directory and run the files directly with node
```js
node
```

## Related Projects
- [Monadic Libraries Examples with Tests](https://github.com/dmitriz/monadic-libraries-examples)