Skip to content

Additional query functions; additional graph construction functions; switch to set of edges#10

Open
colehaus wants to merge 10 commits into
purescript:masterfrom
colehaus:master
Open

Additional query functions; additional graph construction functions; switch to set of edges#10
colehaus wants to merge 10 commits into
purescript:masterfrom
colehaus:master

Conversation

@colehaus
Copy link
Copy Markdown

There are a lot of changes bundled together. I'm happy to split these into separate PRs if that's helpful, but I thought I'd put it all out for discussion first.

@colehaus
Copy link
Copy Markdown
Author

colehaus commented Jun 3, 2019

FYI, I don't think the Travis failure has much to do with the changes here. The message is Unknown value flushCrumbs in purescript-spec.

@prescientmoon
Copy link
Copy Markdown

why is this still not merged

@NickHu
Copy link
Copy Markdown

NickHu commented Jun 29, 2020

cc @garyb @paf31

Comment thread src/Data/Graph.purs
-- |
-- | Edges refer to vertices using keys of type `k`.
newtype Graph k v = Graph (Map k (Tuple v (List k)))
newtype Graph k v = Graph (Map k (Tuple v (Set k)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prevents the possibility of having multiple edges between any pair of nodes!

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.

3 participants