Skip to content

Conversation

NickHu
Copy link

@NickHu NickHu commented Jun 29, 2020

Hi,

I know it's a bit strange to PR to your branch instead of upstream, but GitHub doesn't seem to have a nice way to make a pull request dependent on another, and I wondered if you would like to add this into your changeset (purescript#10). I believe that if you were to merge this it would get added into your open PR automatically.

`Graph`, via Tarjan's algorithm

This is essentially a translation of https://stackoverflow.com/a/15912896
The stack is encoded as a `Map k Int`, and `foldl` is used extensively
to obtain a *functional* presentation of the algorithm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant