[e-lang] Missing makeIOUMint.emaker in DonutLab?
Dean Tribble
tribble at e-dean.com
Mon May 14 20:05:09 EDT 2007
Even though it currently only needs timer.now, a refactoring might need the
related functionality. Unless there is an authority reduction in passing
just the single function, I htink it makes for a less clear abstraction.
On 5/14/07, Mark Miller <erights at gmail.com> wrote:
>
> On 5/14/07, Kevin Reid <kpreid at mac.com> wrote:
> > 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")
>
>
> That would have been a better design. I didn't think of it because I'm
> still not used to the verb-curry syntax.
>
> --
> Text by me above is hereby placed in the public domain
>
> Cheers,
> --MarkM
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/e-lang/attachments/20070514/26900077/attachment.html
More information about the e-lang
mailing list