[e-lang] Missing makeIOUMint.emaker in DonutLab?
Kevin Reid
kpreid at mac.com
Mon May 14 16:33:39 EDT 2007
On May 14, 2007, at 16:02, Mark Miller wrote:
> ? def issuer := <donut:makeIOUIssuerAuthor>(timer)("Sugar")
> # value: <issues Sugar>
>
> It became an author because it now bundles in some record keeping, and
> so needs an alleged timer which responds to a "now()" message with an
> integer.
If that's all it will ever possibly need, why not pass just timer.now?
? def issuer := <donut:makeIOUIssuerAuthor>(timer.now)("Sugar")
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list