Search found 34 matches
- Sun Sep 20, 2009 1:20 am
- Forum: Common Lisp
- Topic: gensym question
- Replies: 3
- Views: 6047
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.
- Sat Aug 08, 2009 12:57 am
- Forum: Common Lisp
- Topic: Sbcl Dll Loading Error-Converting to Text
- Replies: 4
- Views: 9763
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.
The "Examples" section should be esp. helpful.
- Wed Aug 05, 2009 6:36 am
- Forum: Common Lisp
- Topic: need help with lispworks
- Replies: 17
- Views: 32886
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...
- Tue Aug 04, 2009 7:32 am
- Forum: Common Lisp
- Topic: need help with lispworks
- Replies: 17
- Views: 32886
Re: need help with lispworks
Are you new to Common Lisp?
- Tue Aug 04, 2009 12:44 am
- Forum: Common Lisp
- Topic: Simple makefile generation for asdf systems
- Replies: 2
- Views: 6496
Re: Simple makefile generation for asdf systems
Looks cool. Bookmark'd.
- Tue Aug 04, 2009 12:36 am
- Forum: Common Lisp
- Topic: Binary I/O
- Replies: 3
- Views: 7331
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...
- Mon Jul 27, 2009 1:53 am
- Forum: Common Lisp
- Topic: Where to start?
- Replies: 20
- Views: 45836
- Mon Jul 27, 2009 1:18 am
- Forum: Common Lisp
- Topic: using labels in macros
- Replies: 5
- Views: 11734
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...
- Sun Jul 26, 2009 2:00 pm
- Forum: Common Lisp
- Topic: using labels in macros
- Replies: 5
- Views: 11734
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
And you want APPLY to pass through your argument list to a recursive call of the function.
HTH,
Leslie
- Tue Jul 21, 2009 6:13 am
- Forum: Common Lisp
- Topic: Experience of Learning Lisp
- Replies: 52
- Views: 1994418
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...
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...