Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

A Great Idea

Name: Anonymous 2009-07-28 4:52

Hey /prog/, I just had a great idea. Let's use a double space (space space) as the delimiter between identifiers so we can have identifiers with spaces in them.

An example:
(defun  add to deck  (card  deck)
  (cons  card  deck))

Name: Anonymous 2009-07-28 17:21

>>42
You'll have to redefine most standard symbols to do that.
What I had in mind for OP was that if he wanted to have some specific function named like that, he could just quote the function name. In your example, you are quoting *read-eval* and with-open-file, why?

Usage would be like this:

(defun |add to deck| (card deck)
  (cons card deck))

(defparameter *a-deck* nil)
(|add to deck| 'king *a-deck*)

(defun |load deck| (path)
  (let ((*read-eval* nil))
    (with-open-file (f path)
      (read f))))

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List