Search found 2 matches

by Main
Sun Dec 18, 2011 4:15 am
Forum: Common Lisp
Topic: Newbie in Lisp
Replies: 12
Views: 15034

Re: Newbie in Lisp

Don't. That's the Win32 API for graphics programming using nothing but windows. Go get yourself lispbuilder-sdl with quicklisp. It'll be cross-platform, you'll be able to call lisp functions in your lisp image instead of C ones in the windows libs, and you won't have to deal with the ungodly nightma...
by Main
Sun May 09, 2010 10:47 pm
Forum: Common Lisp
Topic: What little functions/macros do you use?
Replies: 23
Views: 32333

Re: What little functions/macros do you use?

Here's one I find helpful: (defun make-keyword (sym) (intern (symbol-name sym) :keyword)) (defun catsyms (&rest symbols) (intern (format nil "~{~S~}" symbols))) (defmacro deferror (error-name report-format &rest slot-names) "Defines error conditions. Condition object slots are...