Re: Prize and Milestone as mutable state idioms
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
On Jul 2, 2008, at 20:31, Mark Miller wrote: > On Wed, Jul 2, 2008 at 5:20 PM, Kevin Reid <[email protected]> wrote: >> def [yet, now] := { >> var v := false >> [v.get, >> def now() { v := true }] >> } > > > Did you mean > > (&v).get > > ? Yes. -- Kevin Reid <http://homepage.mac.com/kpreid/>