Skip to content

Updates to Data.Record.Builder.merge#40

Closed
MonoidMusician wants to merge 3 commits into
purescript:masterfrom
MonoidMusician:merge-builder-types
Closed

Updates to Data.Record.Builder.merge#40
MonoidMusician wants to merge 3 commits into
purescript:masterfrom
MonoidMusician:merge-builder-types

Conversation

@MonoidMusician
Copy link
Copy Markdown

I think it should resolve duplicates like Data.Record.merge and should overwrite existing labels. Additionally I changed the FFI to actually mutate r.

Depends on my other PR #39, breaking change.

merge does the right thing with duplicate labels (keeping those from the left record), while merge' helps inference by assuming that the records are disjoint (i.e. their union has no duplicates)
I think it should resolve duplicates like Data.Record.merge and should overwrite existing labels. Additionally I changed the FFI to actually mutate `r`

Introduce a type synonym for building records.

Tests.
@natefaubion natefaubion mentioned this pull request Apr 28, 2018
@garyb
Copy link
Copy Markdown
Member

garyb commented May 22, 2018

This was resolved by #43 I think, if not... please reopen 😄

@garyb garyb closed this May 22, 2018
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.

2 participants