[plt-scheme] UUID Question

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

#:lunacy :)  Actually, #:legacy might be the right keyword.

On Wed, Dec 16, 2009 at 8:50 AM, Dave Herman <dherman at ccs.neu.edu> wrote:

> #:legacy ?
>
>
> Sam TH wrote:
>
>> On Wed, Dec 16, 2009 at 10:39 AM, Doug Williams
>> <m.douglas.williams at gmail.com> wrote:
>>
>>> 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?
>>>
>>
>> Hmm.  What is being "forced" here?  I would think something like
>> #:rfc4122 or #:strict would be more evocative.
>>
>>  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/aba200d3/attachment.html>

Posted on the users mailing list.