I didn't want to use any reference to RFC 4122 (like #:rfc4122) IS the problem - the reference implementation has a bug. If you follow the algorithm you get an answer different that the code. And, #:strict has the same problem - strick adherence to what: the algorithm or the code. Basically, #:force is forcing 'buggy' behaviour.<br>
<br><div class="gmail_quote">On Wed, Dec 16, 2009 at 8:44 AM, Sam TH <span dir="ltr"><<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Dec 16, 2009 at 10:39 AM, Doug Williams<br>
<div class="im"><<a href="mailto:m.douglas.williams@gmail.com">m.douglas.williams@gmail.com</a>> wrote:<br>
</div><div class="im">> I thought about it. I named the boolean force? and would likely use the<br>
> keyword #::force, since longer, more descriptive ones seem somewhat<br>
> annoying. That would give (make-uuid-3 namespace-DNS "<a href="http://www.widgets.com" target="_blank">www.widgets.com</a>"<br>
> #:force #t). How does that look?<br>
<br>
</div>Hmm. What is being "forced" here? I would think something like<br>
#:rfc4122 or #:strict would be more evocative.<br>
<div class="im"><br>
><br>
> On Wed, Dec 16, 2009 at 8:31 AM, Sam TH <<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a>> wrote:<br>
>><br>
>> On Wed, Dec 16, 2009 at 10:24 AM, Doug Williams<br>
>> <<a href="mailto:m.douglas.williams@gmail.com">m.douglas.williams@gmail.com</a>> wrote:<br>
>> ><br>
>> > ...<br>
>> > (make-uuid-3 namespace-DNS "<a href="http://www.widgets.com" target="_blank">www.widgets.com</a>") = #<uuid<br>
>> > 3d813cbb-47fb-32ba-91df-831e1593ac29><br>
>> > (make-uuid-3 namespace-DNS "<a href="http://www.widgets.com" target="_blank">www.widgets.com</a>" #t) = #<uuid<br>
>> > e902893a-9d22-3c7e-a7b8-d6e313b71d9f><br>
>> > ...<br>
>><br>
>> I think it would be helpful to use an optional keyword argument here,<br>
>> rather than just an optional boolean.<br>
>><br>
>> --<br>
>> sam th<br>
>> <a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a><br>
><br>
><br>
<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">sam th<br>
<a href="mailto:samth@ccs.neu.edu">samth@ccs.neu.edu</a><br>
</div></div></blockquote></div><br>