Search found 78 matches

by Harnon
Wed Sep 16, 2009 1:30 pm
Forum: Common Lisp
Topic: Using the Iterate libraryHel
Replies: 5
Views: 5300

Re: Using the Iterate libraryHel

So, using that var, i redefined mine as follows (defmacro-clause (JOINING str &optional INTO result-var AT (place 'end)) (let ((pl (string place)) (^result-var (or result-var iterate::*result-var*))) `(progn (with ,^result-var = "") (setq ,^result-var ,(cond ((equalp pl "end"...
by Harnon
Wed Sep 16, 2009 10:55 am
Forum: Common Lisp
Topic: Using the Iterate libraryHel
Replies: 5
Views: 5300

Re: Using the Iterate libraryHel

I actually wouldn't mind cummulating it into a list and then coercing it at end . Im not referring to the string inside the loop after all. I just want it to be succinct.
by Harnon
Wed Sep 16, 2009 6:12 am
Forum: Common Lisp
Topic: Using the Iterate libraryHel
Replies: 5
Views: 5300

Using the Iterate libraryHel

Hello! I'm trying ot use the iteate library to define a collector which concatenates into a string. Howveer, i cannot find a way for it to automatically return its result if there are no other collecting vars. for example, (iter (for arg in '(a b)) (collecting arg)) will automatically return '(a b) ...
by Harnon
Tue Sep 15, 2009 9:02 am
Forum: Common Lisp
Topic: EXCEPTION_ACCESS_VIOLATION???
Replies: 3
Views: 5288

Re: EXCEPTION_ACCESS_VIOLATION???

Yes! Thank you, it worked wonderfully. Good to know, didn't know this before.
by Harnon
Tue Sep 15, 2009 7:57 am
Forum: Common Lisp
Topic: EXCEPTION_ACCESS_VIOLATION???
Replies: 3
Views: 5288

EXCEPTION_ACCESS_VIOLATION???

So I have tried over and over again to make some bindings to the libusb-win32 library. Every single time, when i attempt to access a certain structure returned, i get the EXCEPTION_ACCESS_VIOLATION. I'm on sbcl 1.0.29 on windows vista. Plus, when i run the test C exe program, everything works out. B...
by Harnon
Tue Sep 15, 2009 7:45 am
Forum: Common Lisp
Topic: Combining Two Dissimlar Classes Slots
Replies: 3
Views: 4457

Re: Combining Two Dissimlar Classes Slots

Thanks1 Thats exactly what i was looking for :)
by Harnon
Mon Sep 14, 2009 4:14 pm
Forum: Common Lisp
Topic: Combining Two Dissimlar Classes Slots
Replies: 3
Views: 4457

Combining Two Dissimlar Classes Slots

I know this is possible, but i can't find how to do it! Say i have (deflcass aa ((name :initarg :name))) (defclass bb ((name :initarg :name) (c :initarg :c))) Then , if i have an instance of class aa, i would like to create an instance of bb with all similar slots which bb has in common with aa fill...
by Harnon
Sun Sep 13, 2009 8:37 pm
Forum: Common Lisp
Topic: Asdf failed, Wheres the Error Description?
Replies: 4
Views: 5153

Re: Asdf failed, Wheres the Error Description?

That would be awesome because it becomes tiresome when trying to compile and debug an external library using the 'asdf failed' error when all you want is for the darn thing to work :D
by Harnon
Sat Sep 12, 2009 5:49 pm
Forum: Common Lisp
Topic: Asdf failed, Wheres the Error Description?
Replies: 4
Views: 5153

Re: Asdf failed, Wheres the Error Description?

Just wandering,would it be possible to change asdf to get the actual error message thrown by lisp instead of a general error?
by Harnon
Sat Sep 12, 2009 3:17 pm
Forum: Common Lisp
Topic: Asdf failed, Wheres the Error Description?
Replies: 4
Views: 5153

Asdf failed, Wheres the Error Description?

I get this error from time to time WARNING: COMPILE-FILE warned while performing #<COMPILE-OP NIL {246EA269}> on #<CL-SOURCE-FILE "ffi" {246E5CA9}>. erred while invoking #<COMPILE-OP NIL {246EA269}> on #<CL-SOURCE-FILE "ffi" {246E5CA9}> [Condition of type ASDF:COMPILE-FAILED] 0: ...