Welcome

Discussion of Common Lisp
Post Reply
administrator
Site Admin
Posts: 1
Joined: Mon Jun 23, 2008 11:02 pm

Welcome

Post by administrator » Fri Jun 27, 2008 11:28 pm

Well, I just got everything installed and set up. LispForum is now open for business. Please have a good time. :)

G-Brain
Posts: 16
Joined: Sat Jun 28, 2008 3:48 am
Contact:

Re: Welcome

Post by G-Brain » Sat Jun 28, 2008 6:36 am

Looking good so far :ugeek:

Image

varuzza

Re: Welcome

Post by varuzza » Sat Jun 28, 2008 6:54 am

Maybe:

Code: Select all

  
  (defclass people ()
    ((ideas :accessor ideas :initarg :ideas)
     (fun :accessor fun :initarg :fun)))

  (defun lispforum (people)
    (list (ideas people) (fun people)))

malkia
Posts: 8
Joined: Sat Jun 28, 2008 11:36 am

Re: Welcome

Post by malkia » Sat Jun 28, 2008 11:58 am

Here's a fix :)

Code: Select all

(defun lispforum (people)
  (declare (ignore people))
  (list 'ideas 'fun))

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: Welcome

Post by findinglisp » Sat Jun 28, 2008 12:03 pm

Ha! Yes, indeed. I actually went through about 5 different little functions to try to find something that would work well with the aspect ratio that was used for the default phpBB logo. That was the best I could come up with. But yes, having a warning saying that people weren't used probably isn't what I was going for. In the spirit of Lisp, perhaps a high-order function is more appropriate:

Code: Select all

(defun lispforum (people)
    (funcall people 'ideas 'fun))
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: Welcome

Post by findinglisp » Sat Jun 28, 2008 12:07 pm

Hmmm... Upon reading that quickly, I don't think funcall really works well. It sort of elicits a "funcall of you, too" sort of response. ;)

Maybe:

Code: Select all

(defun lispforum (people)
    (apply people '(ideas fun)))
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

G-Brain
Posts: 16
Joined: Sat Jun 28, 2008 3:48 am
Contact:

Re: Welcome

Post by G-Brain » Sat Jun 28, 2008 12:35 pm

findinglisp wrote: Maybe:

Code: Select all

(defun lispforum (people)
    (apply people '(ideas fun)))
I like that! 8-)

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: Welcome

Post by findinglisp » Sun Jun 29, 2008 7:34 am

All fixed. 8-)
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Wodin
Posts: 56
Joined: Sun Jun 29, 2008 8:16 am

Re: Welcome

Post by Wodin » Sun Jun 29, 2008 8:56 am

findinglisp wrote:But yes, having a warning saying that people weren't used probably isn't what I was going for.
I don't know about that. I thought using people was bad.

Post Reply