Welcome
-
- Site Admin
- Posts: 1
- Joined: Mon Jun 23, 2008 11:02 pm
Welcome
Well, I just got everything installed and set up. LispForum is now open for business. Please have a good time.
Re: Welcome
Looking good so far
Re: Welcome
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
Here's a fix
Code: Select all
(defun lispforum (people)
(declare (ignore people))
(list 'ideas 'fun))
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: Welcome
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/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: Welcome
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:
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/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Re: Welcome
I like that!findinglisp wrote: Maybe:Code: Select all
(defun lispforum (people) (apply people '(ideas fun)))
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: Welcome
All fixed.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Re: Welcome
I don't know about that. I thought using people was bad.findinglisp wrote:But yes, having a warning saying that people weren't used probably isn't what I was going for.