Dave gets the gold star and a 30 minute break from grading finals (making an assumption about current NEU activities there). So here is the test output for (what I hope is) the final version so you can see some of the other capabilities.<br>
<br>Welcome to DrScheme, version 4.2.3 [3m].<br>Language: Module; memory limit: 2048 megabytes.<br>(make-uuid-1) = #<uuid 06d644d0-ea5c-11de-b1cf-001b779c76e3><br>Wednesday, December 16th, 2009 8:59:44am<br>(make-uuid-3 namespace-DNS "<a href="http://www.widgets.com">www.widgets.com</a>") = #<uuid 3d813cbb-47fb-32ba-91df-831e1593ac29><br>
(make-uuid-3 namespace-DNS "<a href="http://www.widgets.com">www.widgets.com</a>" #:legacy #t) = #<uuid e902893a-9d22-3c7e-a7b8-d6e313b71d9f><br>(make-uuid-5 namespace-DNS "<a href="http://www.widgets.com">www.widgets.com</a>") = #<uuid 21f7f8de-8051-5b89-8680-0195ef798b6a><br>
(make-uuid-5 namespace-DNS "<a href="http://www.widgets.com">www.widgets.com</a>" #:legacy #t) = #<uuid 13726f09-44a9-5eeb-8910-3525a23fb23b><br>(make-uuid-4) = #<uuid b27e7b45-1966-493b-947d-087f6d886dbe><br>
U4 = #<uuid b27e7b45-1966-493b-947d-087f6d886dbe><br>(uuid->string U4) = "b27e7b45-1966-493b-947d-087f6d886dbe"<br>(uuid->urn-string U4) = "urn:uuid:b27e7b45-1966-493b-947d-087f6d886dbe"<br>
namespace-DNS = #<uuid 6ba7b810-9dad-11d1-80b4-00c04fd430c8><br>(uuid=? U4 U4) = #t<br>(uuid=? U4 namespace-DNS) = #f<br>(uuid<? U4 namespace-DNS) = #f<br>(uuid>? U4 namespace-DNS) = #t<br>> <br><br><div class="gmail_quote">
On Wed, Dec 16, 2009 at 8:50 AM, Dave Herman <span dir="ltr"><<a href="mailto:dherman@ccs.neu.edu">dherman@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;">
#:legacy ?<div><div></div><div class="h5"><br>
<br>
Sam TH 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>
<<a href="mailto:m.douglas.williams@gmail.com" target="_blank">m.douglas.williams@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>
</blockquote>
<br>
Hmm. What is being "forced" here? I would think something like<br>
#:rfc4122 or #:strict would be more evocative.<br>
<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 8:31 AM, Sam TH <<a href="mailto:samth@ccs.neu.edu" target="_blank">samth@ccs.neu.edu</a>> 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:24 AM, Doug Williams<br>
<<a href="mailto:m.douglas.williams@gmail.com" target="_blank">m.douglas.williams@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...<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>
</blockquote>
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" target="_blank">samth@ccs.neu.edu</a><br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>