elm-lang / elm-plans

no longer in use, just want to keep discussions around
BSD 3-Clause "New" or "Revised" License
29 stars 1 forks source link

Collection of Record Ideas #16

Closed evancz closed 7 years ago

evancz commented 9 years ago

Over time we have collected quite a few ideas of how to improve records. Here they are all in one place, so we can figure out a coherent design:

Warry commented 9 years ago

In the paper that @evancz linked in the Records announcement (http://research.microsoft.com/pubs/65409/scopedlabels.pdf) there were things like this :

origin = {x = 0 | {y = 0 | {}}}

In order to compose records very freely using the pipe (a bit like _.extend in underscore?), I'd innocently add this to the debate without having any idea of the consequences in the actual implementation.

jvoigtlaender commented 8 years ago

Close this in favor of https://github.com/elm-lang/elm-compiler/issues/1068?

jvoigtlaender commented 8 years ago

Close this in favour of https://github.com/elm-lang/elm-compiler/issues/1375 now?

Because this issue here is still linked to, from https://github.com/elm-lang/elm-compiler/issues/635#issuecomment-128213965, but is not actually the current place anymore where this stuff is tracked.

evancz commented 7 years ago

This repo is not in use anymore. https://github.com/elm-lang/elm-compiler/issues/1375 takes precedence