From tcr at freebits.de Mon Jun 1 12:59:38 2009 From: tcr at freebits.de (Tobias C. Rittweiler) Date: Mon, 01 Jun 2009 14:59:38 +0200 Subject: [babel-devel] [PATCH] elide note when compiling BOM-VECTOR Message-ID: <87y6sc6ret.fsf@freebits.de> Compiling BOM-VECTOR emits a "type assertion to complex to check note." The reason is that (THE FOO (QUUX)) is actually of type (VALUES FOO &REST T) which SBCL, at least for the moment, cannot cope well with. The below patch changes it to (THE FOO (VALUES (QUUX))). -T. diff -rN -u old-babel/src/strings.lisp new-babel/src/strings.lisp --- old-babel/src/strings.lisp 2009-06-01 14:58:56.000000000 +0200 +++ new-babel/src/strings.lisp 2009-06-01 14:58:56.000000000 +0200 @@ -237,15 +237,16 @@ (defun bom-vector (encoding use-bom) (check-type use-bom (member :default t nil)) (the simple-vector - (if (null use-bom) - #() - (let ((enc (typecase encoding - (external-format (external-format-encoding encoding)) - (t (get-character-encoding encoding))))) - (if (or (eq use-bom t) - (and (eq use-bom :default) (enc-use-bom enc))) - (enc-bom-encoding enc) - #()))))) + (values + (if (null use-bom) + #() + (let ((enc (typecase encoding + (external-format (external-format-encoding encoding)) + (t (get-character-encoding encoding))))) + (if (or (eq use-bom t) + (and (eq use-bom :default) (enc-use-bom enc))) + (enc-bom-encoding enc) + #())))))) (defun string-to-octets (string &key (encoding *default-character-encoding*) (start 0) end (use-bom :default) From luismbo at gmail.com Mon Jun 1 22:05:06 2009 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Mon, 1 Jun 2009 23:05:06 +0100 Subject: [babel-devel] [PATCH] elide note when compiling BOM-VECTOR In-Reply-To: <87y6sc6ret.fsf@freebits.de> References: <87y6sc6ret.fsf@freebits.de> Message-ID: <391f79580906011505r55272cd1q7e2591566b8c3c61@mail.gmail.com> On Mon, Jun 1, 2009 at 1:59 PM, Tobias C. Rittweiler wrote: > Compiling BOM-VECTOR emits a "type assertion to complex to check note." > The reason is that (THE FOO (QUUX)) is actually of type (VALUES FOO > &REST T) which SBCL, at least for the moment, cannot cope well with. > The below patch changes it to (THE FOO (VALUES (QUUX))). Thanks for the patch, I've just pushed it. -- Lu?s Oliveira http://student.dei.uc.pt/~lmoliv/ From eadmund42 at gmail.com Tue Jun 23 21:48:06 2009 From: eadmund42 at gmail.com (Robert Uhl) Date: Tue, 23 Jun 2009 15:48:06 -0600 Subject: [babel-devel] [ANNOUNCE] Fedora RPM for babel available Message-ID: I have a babel RPM available for Fedora at: http://yum.octopodial-chrome.com/packages/cl-babel It's probably easiest to install the octopodial-chrome package first, then use 'yum install cl-babel' to grab it and cl-alexandria. -- Robert Uhl `We _must_ implement multi-processor object-oriented Java-based client-server technologies immediately!' `You know, FORTRAN and slide rules put men on the moon and got them back safely multiple times.' --Matt Roberds