Search found 34 matches

by skypher
Sun Sep 20, 2009 1:20 am
Forum: Common Lisp
Topic: gensym question
Replies: 3
Views: 5949

Re: gensym question

This won't work. Remember the point of GENSYM is to give you a fresh and unique interned symbol; if you're calling it at mexp time you will get the same symbol over and over.
by skypher
Sat Aug 08, 2009 12:57 am
Forum: Common Lisp
Topic: Sbcl Dll Loading Error-Converting to Text
Replies: 4
Views: 9450

Re: Sbcl Dll Loading Error-Converting to Text

Look here: http://msdn.microsoft.com/en-us/library ... nd%29.aspx

The "Examples" section should be esp. helpful.
by skypher
Wed Aug 05, 2009 6:36 am
Forum: Common Lisp
Topic: need help with lispworks
Replies: 17
Views: 32585

Re: need help with lispworks

Thanks, as my post had been delayed by the moderator for two days before publishing I already dug a bit into it and found out that you can't create execs with that license as it's crippleware and deleted LispWorks. Now I'm giving a try to CLISP.. Yes, I'm new to LISP so all I want to have is some L...
by skypher
Tue Aug 04, 2009 7:32 am
Forum: Common Lisp
Topic: need help with lispworks
Replies: 17
Views: 32585

Re: need help with lispworks

Are you new to Common Lisp?
by skypher
Tue Aug 04, 2009 12:44 am
Forum: Common Lisp
Topic: Simple makefile generation for asdf systems
Replies: 2
Views: 6316

Re: Simple makefile generation for asdf systems

Looks cool. Bookmark'd.
by skypher
Tue Aug 04, 2009 12:36 am
Forum: Common Lisp
Topic: Binary I/O
Replies: 3
Views: 7122

Re: Binary I/O

It depends on the problem you're trying to solve. If you need to produce plain 7bit-files because some other (probably legacy) application requires that format then you should try to bend CL to do that (using ODD-STREAMS or some other means). Otherwise just use standard octets or no binary represent...
by skypher
Mon Jul 27, 2009 1:53 am
Forum: Common Lisp
Topic: Where to start?
Replies: 20
Views: 43903

Re: Where to start?

by skypher
Mon Jul 27, 2009 1:18 am
Forum: Common Lisp
Topic: using labels in macros
Replies: 5
Views: 11379

Re: using labels in macros

Yeah, much better indeed. :D I'd consider abstracting it even more. Using the popular RCURRY macro from Alexandria (or CURRY-AFTER from Metatilities) we can define (defun between (x min max) (and (>= x min) (<= x max))) (defun on-board-p (&rest positions) (every (rcurry #'between 0 (1- +board-si...
by skypher
Sun Jul 26, 2009 2:00 pm
Forum: Common Lisp
Topic: using labels in macros
Replies: 5
Views: 11379

Re: using labels in macros

You really need a function instead of a macro here.

And you want APPLY to pass through your argument list to a recursive call of the function.

HTH,

Leslie
by skypher
Tue Jul 21, 2009 6:13 am
Forum: Common Lisp
Topic: Experience of Learning Lisp
Replies: 52
Views: 1985241

Re: Experience of Learning Lisp

Paul,

I still don't get why (defvar *list* '(1 2 3)) at the REPL could not in any way be stuffed into read-only space by the implementation...