Skip to content

Commit

Permalink
Another go at updating dependencies (#192)
Browse files Browse the repository at this point in the history
* Convert from mp to dot

* Use the svg only

* Committed wrong url...

* Also remove png creation from script

* Use GitHub's link color

* Use sha

* Don't use hrefs

* Update dependency svg sha

* Just use png instead of svg

* Update width and height
  • Loading branch information
joneshf authored Oct 23, 2016
1 parent a18c4b7 commit 2a94dce
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 216 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ structures:
* [Bifunctor](#bifunctor)
* [Profunctor](#profunctor)

<img src="figures/dependencies.png" width="677" height="212" />
<img src="figures/dependencies.png" width="863" height="347" />

## General

Expand Down Expand Up @@ -210,7 +210,7 @@ method takes one argument:

3. `ap` must apply the function in Apply `b` to the value in
Apply `a`

1. No parts of return value of that function should be checked.

### Applicative
Expand Down
35 changes: 35 additions & 0 deletions figures/dependencies.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
digraph {
node [shape=plaintext]

# Algebras
Applicative;
Apply;
Bifunctor;
Chain;
ChainRec;
Comonad;
Extend;
Foldable;
Functor;
Monad;
Monoid;
Profunctor;
Semigroup;
Setoid;
Traversable;

# Dependencies
Applicative -> Monad;
Apply -> Applicative;
Apply -> Chain;
Chain -> ChainRec;
Chain -> Monad;
Extend -> Comonad;
Foldable -> Traversable;
Functor -> Apply;
Functor -> Bifunctor;
Functor -> Extend;
Functor -> Profunctor;
Functor -> Traversable;
Semigroup -> Monoid;
}
67 changes: 0 additions & 67 deletions figures/dependencies.mp

This file was deleted.

Binary file modified figures/dependencies.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions figures/dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

dot -Tpng -odependencies.png dependencies.dot
147 changes: 0 additions & 147 deletions figures/dependencies.svg

This file was deleted.

0 comments on commit 2a94dce

Please sign in to comment.