[plt-scheme] UUID Question

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Wed Dec 16 10:39:31 EST 2009

I thought about it. I named the boolean force? and would likely use the
keyword #::force, since longer, more descriptive ones seem somewhat
annoying. That would give (make-uuid-3 namespace-DNS "www.widgets.com"
#:force #t). How does that look?

On Wed, Dec 16, 2009 at 8:31 AM, Sam TH <samth at ccs.neu.edu> wrote:

> On Wed, Dec 16, 2009 at 10:24 AM, Doug Williams
> <m.douglas.williams at gmail.com> wrote:
> >
> > ...
> > (make-uuid-3 namespace-DNS "www.widgets.com") = #<uuid
> > 3d813cbb-47fb-32ba-91df-831e1593ac29>
> > (make-uuid-3 namespace-DNS "www.widgets.com" #t) = #<uuid
> > e902893a-9d22-3c7e-a7b8-d6e313b71d9f>
> > ...
>
> I think it would be helpful to use an optional keyword argument here,
> rather than just an optional boolean.
>
> --
> sam th
> samth at ccs.neu.edu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20091216/98b47ed6/attachment.html>

Posted on the users mailing list.