purescript / purescript-record

Functions for working with records and polymorphic labels
BSD 3-Clause "New" or "Revised" License
70 stars 31 forks source link

Add `buildFromScratch` #53

Closed kl0tl closed 3 years ago

kl0tl commented 5 years ago

Close https://github.com/purescript/purescript-record/issues/52.

hdgarrood commented 5 years ago

Looks good to me, does anyone else have any thoughts?

justinwoo commented 5 years ago

Only question is why "scratch" and not "empty"? We have a Record.empty right?

kl0tl commented 5 years ago

I’m happy to rename to whatever is preferred. Please note that there’s currently no Record.empty though.

kl0tl commented 4 years ago

Should I rename to buildFromEmpty or close that PR? It could also be the occasion to add Record.empty.

hdgarrood commented 4 years ago

I don’t think we need a Record.empty when we already have {}.