Skip to content

Commit

Permalink
[REFACTOR]: Add mermaid support for infographic
Browse files Browse the repository at this point in the history
  • Loading branch information
csgn committed Aug 27, 2024
1 parent a5bccd9 commit d10797f
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,15 @@ def matrixMonoid(row: Int, col: Int): Monoid[Matrix[Int]] = new {
```

## Type classes
```
----------- --------- --------- ----------
| Semigroup | | Functor | | Compose | | Foldable |
----------- --------- --------- ----------
* *
| |
--------- ---------
| Monoid | | Apply |
--------- ---------
*
|
-------------
| Applicative |
-------------
*
|
---------
| Monad |
---------
```mermaid
flowchart BT
monoid --> semigroup
monad --> applicative --> apply --> functor
apply --> semigroupal
flatMap --> functor
monad --> flatMap
compose
foldable
```

## Progress
Expand All @@ -170,7 +160,7 @@ def matrixMonoid(row: Int, col: Int): Monoid[Matrix[Int]] = new {

- [ ] Compose
- [x] Implementation
- [ ] Laws
- [x] Laws
- [x] Instances
- [ ] Tests
- [ ] Documentation
Expand Down Expand Up @@ -209,3 +199,17 @@ def matrixMonoid(row: Int, col: Int): Monoid[Matrix[Int]] = new {
- [x] Instances
- [x] Tests
- [ ] Documentation

- [ ] Flatmap
- [ ] Implementation
- [ ] Laws
- [ ] Instances
- [ ] Tests
- [ ] Documentation

- [ ] Semigroupal
- [ ] Implementation
- [ ] Laws
- [ ] Instances
- [ ] Tests
- [ ] Documentation

0 comments on commit d10797f

Please sign in to comment.