Page 1 of 1

Welcome

Posted: Fri Jun 27, 2008 11:28 pm
by administrator
Well, I just got everything installed and set up. LispForum is now open for business. Please have a good time. :)

Re: Welcome

Posted: Sat Jun 28, 2008 6:36 am
by G-Brain
Looking good so far :ugeek:

Image

Re: Welcome

Posted: Sat Jun 28, 2008 6:54 am
by varuzza
Maybe:

Code: Select all

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

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

Re: Welcome

Posted: Sat Jun 28, 2008 11:58 am
by malkia
Here's a fix :)

Code: Select all

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

Re: Welcome

Posted: Sat Jun 28, 2008 12:03 pm
by findinglisp
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))

Re: Welcome

Posted: Sat Jun 28, 2008 12:07 pm
by findinglisp
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)))

Re: Welcome

Posted: Sat Jun 28, 2008 12:35 pm
by G-Brain
findinglisp wrote: Maybe:

Code: Select all

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

Re: Welcome

Posted: Sun Jun 29, 2008 7:34 am
by findinglisp
All fixed. 8-)

Re: Welcome

Posted: Sun Jun 29, 2008 8:56 am
by Wodin
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.