Re: [PATCH] New auto operator.
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH] New auto operator.
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Fri, 19 Jan 2018 22:37:31 -0800
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: Quentin Carbonneaux <quentin@xxxxxx>
Haven't tested yet, but I should have time to try it out soon. I generally
like the approach, and I think it'll clean up some of my code.
I think I'd like to see it applied in a few places in our standard library
before we merge it.
On Thu, 18 Jan 2018 11:46:13 +0000, Quentin Carbonneaux <quentin@xxxxxx> wrote:
> TODO:
> -----
>
> - Err when goto jumps in/out of a block that has auto
> expressions.
> - Support auto in patterns.
> match ...
> | `std.Some (auto x): ...
> is essentially rewritten to:
> match ...
> | `std.Some (auto x):
> auto x
> ...
> - Test edge cases (e.g., auto in loop condition)
> Actually, test.
- Use it in at least a few places, see how it works out.
- Update language spec.
- Update tutorial.
:)
--
Ori Bernstein
| [PATCH] New auto operator. | Quentin Carbonneaux <quentin@xxxxxx> |
- Prev by Date: Re: [PATCH] New auto operator.
- Next by Date: [PATCH] Cheap enums.
- Previous by thread: Re: [PATCH] New auto operator.
- Next by thread: Re: [PATCH] New auto operator.
- Index(es):