How to test the non exported symbols Suppose I have a package (defpackage #:foo (:use :cl)) (in-package #:foo) (defun triple (x) (* 3 x)) Triple is an internal for the foo package. Then I have a package foo- test. (defpackage #:foo-test (:use :cl :foo :some-test-library)) (in-package #:foo-test) How do you write tests for internal symbols ... 7 Mar 2010 20:40
how to remove all elements from an array I have an array defined as: (make-array 0 :element-type 'string :fill-pointer 0 :adjustable t) After adding some elements I want to know how to clear it , i.e. remove all elements from it? thanks Slobodan ... 7 Mar 2010 15:09
[ANN] ECL 10.3.1 Announcement of ECL =================== ECL stands for Embeddable Common-Lisp. The ECL project aims to produce an implementation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language. The term embeddable refers to the fact that ECL includes a lisp to C compiler, which prod... 5 Mar 2010 10:30
macro to expand into function body with declare at top Hello, I would like to use a macro to expand into a function body, but it needs to have a declare statement at the top. Here is the macro: (defmacro dist (fun) `(progn (declare (number lo hi)) (coerce lo 'double-float) (coerce hi 'double-float) (make-marray 'double-float :initial... 6 Mar 2010 14:03
Elephant experiences? Hello, I am looking for a simple persistent storage mechanism for some Common Lisp data. AllegroCache would probably be the ideal choice, but I would like to have it available also for other CL implementations. Does anyone here have experiences with Elephant[*]? Or is there something else which I should look ... 11 Mar 2010 14:32
Amazing Video on How Computer Fashion Is Changing, Nice Work !! Fashion World is Now Changing !!! So Are Computer's: Amazing Video on How Computer Fashion Is Changing, Nice Work !!! On How HardWare Fashion is Changing... Must Watch : http://www.youtube.com/watch?v=Vjtr3ljKjx0 Cheers !!! ... 4 Mar 2010 06:41
Hi for those who loves fashion.. check this out :) Hi.. http://quazen.com/shopping/fashion-on-a-budget-how-to-save/ thanx, ... 3 Mar 2010 16:23
NoSQL Movement? On Mar 3, 12:36 pm, Xah Lee <xah...(a)gmail.com> wrote: recently i wrote a blog article on The NoSQL Movement athttp://xahlee.org/comp/nosql.html i'd like to post it somewhere public to solicit opinions, but in the 20 min or so, i couldn't find a proper newsgroup, nor private list that my somewhat anti-... 14 Mar 2010 10:53
uw-p and make-thread Hello, I'm using SBCL 1.0.33.30 and the Bordeaux Thread package. My question is in this piece of code: (unwind-protect (while t ;; set up some data (push (make-thread #'work-func) *thread-list)) ; cleanup of uw-p (mapc #'(lamdba (thr) (when (thread-alive-p thr) ... 3 Mar 2010 16:23
Loop syntax style In Pillsy's "Redirecting program output with SBCL's RUN-PROGRAM", I noticed the following: (loop :for line := (read-line o nil nil) :while line :collect line)) Is this "typical" style? I have always seen it in reading and in practice as: (loop for line = (read-line o nil nil) ... 5 Mar 2010 19:36 |