[e-lang] Prize and Milestone as mutable state idioms

Mark Miller erights at gmail.com
Wed Jul 2 19:31:56 CDT 2008


On Wed, Jul 2, 2008 at 5:20 PM, Kevin Reid <kpreid at mac.com> wrote:
> def [yet, now] := {
>   var v := false
>   [v.get,
>    def now() { v := true }]
> }


Did you mean

    (&v).get

?


-- 
Text by me above is hereby placed in the public domain

 Cheers,
 --MarkM


More information about the e-lang mailing list