Records -- current status

Brian Goetz brian.goetz at oracle.com
Tue Mar 20 14:48:39 UTC 2018


It's certainly on our list of things we'd like to think about. But we've 
got so much on our plate, we'd like to focus on getting records and 
pattern matching on a much firmer footing first.

On 3/20/2018 10:42 AM, Cyrill wrote:
>
>>> 1. What about automatically providing a copy constructor for records?
>>
>> [...]  (C# supports this through the combination of named parameters, 
>> default values, and "receiver-defaults.")  This is something we're 
>> thinking about, especially as we approach value types, but don't have 
>> a clear story on yet.
> Speaking of default values & named params, is there an effort for 
> these yet? Or is it just, as you say, not yet a clear story and thus 
> maybe a side-topic in the valhalla ML? I'd be interested to follow the 
> discussions once they come up.
>
> Kind regards,
> Cyrill Brunner



More information about the amber-dev mailing list