Re: [External] : Re: Pattern assignment

2022-03-28 Thread forax
> From: "Brian Goetz" > To: "Remi Forax" > Cc: "amber-spec-experts" > Sent: Monday, March 28, 2022 5:41:10 PM > Subject: Re: [External] : Re: Pattern assignment >> There are another different between assignment and _let_, a _let_ creates new >> fresh local variables (binding) while assignment

Re: [External] : Re: Pattern assignment

2022-03-28 Thread Brian Goetz
There are another different between assignment and _let_, a _let_ creates new fresh local variables (binding) while assignment is able to reuse an existing local variable. Correct, the more precise analogy is not to _assignment_, but to _local variable declaration with initialization_

Re: Pattern assignment

2022-03-28 Thread Remi Forax
> From: "Brian Goetz" > To: "amber-spec-experts" > Sent: Friday, March 25, 2022 4:38:52 PM > Subject: Pattern assignment > We still have a lot of work to do on the current round of pattern matching > (record patterns), but let's take a quick peek down the road. Pattern > assignment is a