<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.lisp.cmucl.general">
    <title>gmane.lisp.cmucl.general</title>
    <link>http://blog.gmane.org/gmane.lisp.cmucl.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6345"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6344"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6343"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6342"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6341"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6340"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6339"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6338"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6337"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6336"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6335"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6334"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6333"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6332"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6331"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6329"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6327"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6326"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6325"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.cmucl.general/6324"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6345">
    <title>Re: When slots :type are used</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6345</link>
    <description>
    dvl&gt;        Hi again,

    dvl&gt; Section "2.23.2 Slot Type Checking" continues to puzzle me, especially
    dvl&gt; the fact that you have to be within *methods* for the :type slot option
    dvl&gt; to be taken in consideration when writing something to a slot. For
    dvl&gt; instance, with:

    dvl&gt; (defclass foo ()
    dvl&gt;   ((a :type fixnum)))

    dvl&gt; (defvar *object* (make-instance 'foo))
    dvl&gt; (setf (slot-value *object* 'a) 3.5)    ;; this works like a charm


I think I have this fixed now:

(defclass foo ()
  ((a :type fixnum)))

(defclass bar ()
  ((a :type fixnum :initform 0)))

(make-instance 'foo) -&gt; signals error because a isn't initialized with
a fixnum

(defvar *object* (make-instance 'bar))

(setf (slot-value *object* 'a) 3.5) -&gt; signals error

I will need to run some tests and stuff, but if all goes well, it will
be included soon (but probably not in time for the Dec snapshot).

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-12-01T18:15:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6344">
    <title>Re: When slots :type are used</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6344</link>
    <description>
    Nicolas&gt; Raymond Toy &lt;toy.raymond&lt; at &gt;gmail.com&gt; writes:
    &gt;&gt;&gt; (defmethod setslot ((foo foo) val)
    &gt;&gt;&gt; (setf (slot-value foo 'a) val))
    &gt;&gt;&gt; 
    &gt;&gt;&gt; (setslot *object* 3.5) ;; triggers a type error
    &gt;&gt;&gt; 
    &gt;&gt;&gt; Can somebody provide a rationale for this ??
    &gt;&gt;&gt; 
    &gt;&gt; Most likely because no got around to doing it.   Plus the most
    &gt;&gt; interesting/most common case is probably in a method.

    Nicolas&gt; Wasn't this introduced by Gerd Moellmann's PCL improvements?  I remember

Yes, Gerd made these changes.

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-12-01T15:50:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6343">
    <title>Re: When slots :type are used</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6343</link>
    <description>

Wasn't this introduced by Gerd Moellmann's PCL improvements?  I remember
that one of the characteristics of that change was that slot access inside
a defmethod was treated specially and compiled to much faster code.  (In an
ideal world, this would have been an improvement of the compiler, but this
was probably too hard to do.)

Nicolas


</description>
    <dc:creator>Nicolas Neuss</dc:creator>
    <dc:date>2008-11-27T08:42:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6342">
    <title>Re: When slots :type are used</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6342</link>
    <description>Most likely because no got around to doing it.   Plus the most
interesting/most common case is probably in a method.

I'll see what I can do, but I know very little about the pcl implementation.

Ray




</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-11-26T22:08:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6341">
    <title>When slots :type are used</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6341</link>
    <description>
       Hi again,

Section "2.23.2 Slot Type Checking" continues to puzzle me, especially
the fact that you have to be within *methods* for the :type slot option
to be taken in consideration when writing something to a slot. For
instance, with:

(defclass foo ()
  ((a :type fixnum)))

(defvar *object* (make-instance 'foo))
(setf (slot-value *object* 'a) 3.5)    ;; this works like a charm


but: 

(defmethod setslot ((foo foo) val)
    (setf (slot-value foo 'a) val))

(setslot *object* 3.5) ;; triggers a type error


Can somebody provide a rationale for this ??

Thanks.

</description>
    <dc:creator>Didier Verna</dc:creator>
    <dc:date>2008-11-26T17:53:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6340">
    <title>:type slot option in classes</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6340</link>
    <description>
       Hello,

Reading section "2.23.2 Slot Type Checking" of the manual, I'm inclined
to think that the following code should trigger an error when
instanciating the class. But it doesn't:

| (declaim (optimize (speed 0)
|    (compilation-speed 0)
|    (safety 3)
|    (debug 0)))
| 
| 
| (defclass foo ()
|   ((slot :type single-float :initform "bar")))

The behavior is not undefined (as the standard would say), but coherent
in the sense that objects of any type can be correctly written and read
from the slot, just as if the :type option was not given.

Am I missing something ?

Thanks!


BTW, some more info:

* pcl::*use-slot-types-p*
T

* (lisp-implementation-version)
"CVS 19d 19d-release (19D)"

</description>
    <dc:creator>Didier Verna</dc:creator>
    <dc:date>2008-11-26T09:39:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6339">
    <title>Re: compilation note -&gt; style-warning?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6339</link>
    <description>
I think changing the efficiency notes (and the boxing notes in
particular) to be an efficiency-warning would not be hard.  Making
efficiency-warning not be a subtype of style-warning is easy too.

But I have not given any thought about the implications of such a hierarchy.

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-11-25T15:03:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6338">
    <title>Re: compilation note -&gt; style-warning?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6338</link>
    <description>

This issue shows up in my Femlisp test suite when runtime-compiling some
scalar-product operation.  My test function looks like this at the moment

(defun test-function (func)
  (catch 'trap
    (handler-bind
        ((serious-condition
          #'(lambda (condition) (throw 'trap condition)))
         #-(or cmu scl)
         (warning
          #'(lambda (condition) (throw 'trap condition))))
      (funcall func)
      nil)))

So you see that I can live with the current behaviour, but it would be nice
if I could drop the conditional for CMUCL.  For me, the best thing would be
if efficiency notes would not be style warnings, although I understand that
this might be a too large change for a minor improvement.  (Is that
subtyping at least useful in some other situation?)

Regards,
Nicolas



</description>
    <dc:creator>Nicolas Neuss</dc:creator>
    <dc:date>2008-11-25T14:52:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6337">
    <title>Re: compilation note -&gt; style-warning?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6337</link>
    <description>
    Nicolas&gt; Hello,
    Nicolas&gt; in the following code a compilation note (returning of double) triggers
    Nicolas&gt; also a style-warning.  Is this intended?  (I cannot see how to improve the
    Nicolas&gt; style...)

Not sure.  Maybe compilation notes like this should not be a
style-warning.  It's really an efficiency note, but currently
efficiency notes are also style-warnings.  Would an
efficiency-warning, which would be a subtype of style-warning work for
you?

(I think there might also a small bug.  The note is a compiler-note,
but the routine that generates it is called
do-coerce-efficiency-note.)

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-11-25T14:29:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6336">
    <title>compilation note -&gt; style-warning?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6336</link>
    <description>Hello,

in the following code a compilation note (returning of double) triggers
also a style-warning.  Is this intended?  (I cannot see how to improve the
style...)

(catch 'trap
  (handler-bind
      ((serious-condition
        #'(lambda (condition) (throw 'trap condition)))
       (warning
        #'(lambda (condition) (throw 'trap condition))))
    (compile nil
             (lambda (x n)
               (declare (type fixnum n)
                        (type (simple-array double-float (*)) x))
               (declare (optimize (safety 0) (space 0) (debug 0) (speed 3)))
               (loop for i of-type fixnum from 0 below n
                  summing (* (aref x i) (aref x i)) of-type double-float)))))

Yours, Nicolas

</description>
    <dc:creator>Nicolas Neuss</dc:creator>
    <dc:date>2008-11-25T10:11:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6335">
    <title>Re: Please explain this compiler note</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6335</link>
    <description>
the latter

</description>
    <dc:creator>Stelian Ionescu</dc:creator>
    <dc:date>2008-11-19T17:57:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6334">
    <title>Re: Please explain this compiler note</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6334</link>
    <description>

  Hmmm, I'm confused. The return value of DEFUN is the function name,
right? Or do you mean that when CMU-CL creates the accessor function, it
generates code to box the return value and /that/ is what triggers the
note?

</description>
    <dc:creator>Didier Verna</dc:creator>
    <dc:date>2008-11-19T17:45:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6333">
    <title>Re: Please explain this compiler note</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6333</link>
    <description>
On Wed, 2008-11-19 at 16:40 +0100, Didier Verna wrote:

The return value of (DEFUN MYSTRUCT-SLOT (OBJECT) ...) : the value of
the slot SLOT is boxed hence the compiler note.

</description>
    <dc:creator>Stelian Ionescu</dc:creator>
    <dc:date>2008-11-19T16:58:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6332">
    <title>Please explain this compiler note</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6332</link>
    <description>
       Hi there,

considering the compilation of the following file:

| (declaim (optimize (speed 3)
|    (compilation-speed 0)
|    (safety 0)
|    (debug 0)))
| 
| (defstruct mystruct
|   (slot 1.0 :type single-float))


I'm not sure I understand why I get this note from the compiler:

| ; In: DEFSTRUCT MYSTRUCT
| 
| ;   (DEFSTRUCT MYSTRUCT
| ;     (SLOT 1.0 :TYPE SINGLE-FLOAT))
| ; Note: Doing float to pointer coercion (cost 13) to "&lt;return value&gt;".

which return value is that ?


Thanks.

</description>
    <dc:creator>Didier Verna</dc:creator>
    <dc:date>2008-11-19T15:40:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6331">
    <title>[Fwd: ILC]</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6331</link>
    <description>
In case you didn't already know, there's another Lisp conference coming up.

Ray, who might go if he plans things out better this time than he did
for OOPSLA.


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-10-29T13:04:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6329">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6329</link>
    <description>
Could you try that?  The issue is the newly subscribed addresses do not
receive messages from the list and cannot send messages to the list.  (I
assume the messages are sent, but they never appear on the list.)

Thanks,

Ray



</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-10-16T18:54:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6327">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6327</link>
    <description>
Interesting.  I have not (yet?) received any message from you from your
gmail account.

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-10-16T18:41:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6326">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6326</link>
    <description>Dunno, folks, works fine for me.

I just subscribed to cmucl-imp using my gmail account.  Subscription
went smooth and I have received the test message I sent a couple
minutes ago at that newly subscribed address.

If you send me a list of problematic addresses I can slam them into
listar by hand.

Martin
</description>
    <dc:creator>Martin Cracauer</dc:creator>
    <dc:date>2008-10-16T17:59:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6325">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6325</link>
    <description>
Yes, that's my understanding.  People subscribe, and they get mails
saying they're subscribed.  But they don't receive messages and can't
send messages.

Also, I had sent (private) email earlier to you at your cons.org
address.  Is that no longer really used?  Is your itasoftware one better?

Thanks for looking into this.

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-10-16T17:36:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6324">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6324</link>
    <description>I'll look into this.

All these spamfilter and security updates wreck the lists every now
and then.

I receive messesages just fine.  Do you say that subscription is
broken?

Martin

Raymond Toy wrote on Thu, Oct 16, 2008 at 10:50:36AM -0400: 

</description>
    <dc:creator>Martin Cracauer</dc:creator>
    <dc:date>2008-10-16T15:12:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.cmucl.general/6322">
    <title>Re: Mailing list issues?</title>
    <link>http://permalink.gmane.org/gmane.lisp.cmucl.general/6322</link>
    <description>
Just a clarification.  The mailing list appears ok, if you've previously
received messages.  But new subscribers appear to have problems.  listar
 (or the mailing list software) says they're subscribed, but new
subscribers apparently cannot send or receive messages, despite being
subscribed.

Ray


</description>
    <dc:creator>Raymond Toy</dc:creator>
    <dc:date>2008-10-13T15:42:23</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.lisp.cmucl.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.cmucl.general</link>
  </textinput>
</rdf:RDF>
