Using { a, b, .. } as data
Instead of { a, b, ..rest }
for Full Record Captures
#7096
Labels
{ a, b, .. } as data
Instead of { a, b, ..rest }
for Full Record Captures
#7096
As much as using
{ a, b, ..rest }
as a way to capture the entirety of an open/constrained record would be obvious syntax based on the changes suggested in #7094, it implies that we would remove thea
andb
fields fromrest
, which as seen in Elm's development, would be an unperformant and messy feature to support. As such, we should just use theas data
capture syntax on an open record to capture all fields.The text was updated successfully, but these errors were encountered: