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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.