[Openmcl-devel] "UNSGIGNED-BYTE" typo.

R. Matthew Emerson rme at clozure.com
Thu Oct 14 09:36:50 PDT 2010


On Oct 13, 2010, at 12:55 PM, Kaz Kylheku wrote:

> 
> $ ccl
> Welcome to Clozure Common Lisp Version 1.5-r13651 (LinuxX8632)!
> ? (decode-string-from-octets #(1 2 3) :external-format :utf-8)
>> Error: value # is not of the expected type (ARRAY (CCL::UNSGIGNED-BYTE
> 8) (*)).
> 
> But decode-string-from-octets does actually work if you give it an array
> whose :element-type is (unsigned-byte 8).
> 
> How do you get bad spelling from a good type check?
> 
> By checking the typecode explicitly and using a "dead list"
> to generate the error condition.

Oops.


> Does the mailing list really need the [subject line marker] disease? You can easily  tell that it's list-related traffic if "openmcl-devel" is a to: or cc: recipient.

I will risk the wrath of people filtering their mail on the Subject header and remove it.  It is pretty ugly.  It's better to filter on the List-Id header.  You'd look for something like

List-Id:.*openmcl-devel@

and file that into your openmcl-devel mailbox.

As a sieve rule:

if header :contains "List-Id" "openmcl-devel.clozure.com" {
  fileinto "lists.openmcl-devel";
}




More information about the Openmcl-devel mailing list