Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

defun

88 views
Skip to first unread message

M. Strobel

unread,
Jan 4, 2012, 6:31:15 PM1/4/12
to
why is define function defun?

This sounds much like it died, somebody died, or is dead.

/Str

Barry Margolin

unread,
Jan 4, 2012, 7:46:09 PM1/4/12
to
In article <9mk5q3...@mid.uni-berlin.de>,
"M. Strobel" <sorry_no_...@nowhere.dee> wrote:

> why is define function defun?

In early versions of Lisp, on machines with very little memory, it was
important to keep symbol names short. On the PDP-6 and PDP-10 machines
that MACLISP was developed on, five 7-bit characters could fit in the
36-bit word, so lots of its built-in functions and variables had
5-letter names to keep from wasting a second word.

>
> This sounds much like it died, somebody died, or is dead.

DEF doesn't sound like DEAD to me. It sounds more like DEAF. Anyway,
you get used to it.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Kaz Kylheku

unread,
Jan 4, 2012, 8:15:07 PM1/4/12
to
On 2012-01-05, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <9mk5q3...@mid.uni-berlin.de>,
> "M. Strobel" <sorry_no_...@nowhere.dee> wrote:
>> This sounds much like it died, somebody died, or is dead.
>
> DEF doesn't sound like DEAD to me. It sounds more like DEAF. Anyway,
> you get used to it.

He may be confusing it with "defunct".

Pascal J. Bourguignon

unread,
Jan 5, 2012, 3:36:09 AM1/5/12
to
defunct(en) = défun(fr).

Just read it as DE FUN, Define Fun.

In a lot of lisps, DE was used to define functions.


--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.

M. Strobel

unread,
Jan 5, 2012, 5:31:25 AM1/5/12
to
I am confusing it with defunct, shortened to save some bytes of
memory as has been pointed out.

And la defunción in spanish.

/Str.

Antsan

unread,
Jan 5, 2012, 10:55:10 AM1/5/12
to
I thought he might think of it as de-(the same prefix as in "decontaminate")fun.

Tim Bradshaw

unread,
Jan 5, 2012, 12:46:50 PM1/5/12
to
On 2012-01-05 15:55:10 +0000, Antsan said:

> I thought he might think of it as de-(the same prefix as in
> "decontaminate")fun.

We all know that programming in Lisp is not fun. I guess this is
better than Scheme where it's not even fine.

Antsan

unread,
Jan 6, 2012, 5:58:36 AM1/6/12
to
Did I sound hostile? I didn't mean to.

Jussi Piitulainen

unread,
Jan 6, 2012, 6:39:58 AM1/6/12
to
F-words are punny.

Programming in Python is not f. Whatever that might be.

Tim Bradshaw

unread,
Jan 6, 2012, 6:47:39 AM1/6/12
to
On 2012-01-06 10:58:36 +0000, Antsan said:

> Did I sound hostile? I didn't mean to.

No. Was a joke, or meant to be.

Marco Antoniotti

unread,
Jan 8, 2012, 8:38:06 AM1/8/12
to
On Thursday, January 5, 2012 1:46:09 AM UTC+1, Barry Margolin wrote:
> In article <9mk5q3...@mid.uni-berlin.de>,
> "M. Strobel" <sorry_no_...@nowhere.dee> wrote:
>
> > why is define function defun?
>
> In early versions of Lisp, on machines with very little memory, it was
> important to keep symbol names short. On the PDP-6 and PDP-10 machines
> that MACLISP was developed on, five 7-bit characters could fit in the
> 36-bit word, so lots of its built-in functions and variables had
> 5-letter names to keep from wasting a second word.
>
> >
> > This sounds much like it died, somebody died, or is dead.
>
> DEF doesn't sound like DEAD to me. It sounds more like DEAF. Anyway,
> you get used to it.

Or you can use the DEFINER extension :) (Shameless plug) :)

MA

Curt

unread,
Jan 9, 2012, 12:41:41 PM1/9/12
to
On 2012-01-05, Pascal J. Bourguignon <p...@informatimago.com> wrote:
>
> defunct(en) = défun(fr).
>

défunt avec un t (muet)

Which reminds me of this poem by e e:


Buffalo Bill's

defunct

who used to

ride a watersmooth-silver

stallion

and break onetwothreefourfive pigeonsjustlikethat

Jesus



he was a handsome man

and what i want to know is

how do you like your blueeyed boy

Mister Death


kent...@gmail.com

unread,
Jan 10, 2012, 9:45:11 AM1/10/12
to
On Wednesday, January 4, 2012 6:31:15 PM UTC-5, M. Strobel wrote:
> why is define function defun?

Any place you see define- it is just a delightful remnant of an ifinitesimal toehold gained by Schemers before being pushed into the sea to be devoured live by sharks.

>
> This sounds much like it died, somebody died, or is dead.

Lispers take more than a little pride in their perpetual deadness.

-kt

namekuseijin

unread,
Feb 10, 2012, 2:16:01 PM2/10/12
to
because it ensures definitely fun threads like this one.
0 new messages