Errata:
newlisp-9.9.2 source code file "makefile"
help:
...
@echo " make linux_lib_utf8
@echi " make debian <<<<<<<<<< change @echi to @echo
@echi " make debian_utf8 <<<<<< change @echi to @echo
@echo " make linux64ILP32
----------------
File "newlisp_manual.html"
HTTP-only server mode
...
file extension media type
.jpg image/jpg
.pgn image/png <<<<<<< Change .pgn to .png
.gif image/gif
.pdf application/pdf
.mp3 image/mpeg
.mov image/quicktime
.mpg image/mpeg
any other text/html
...
Suggest adding mime formats:
.wmv .avi ( windows movie formats )
.zip .gz .bz2 .7z .rar etc. ( compressed files ) (Note: .7z format ->
http://www.7-zip.org/)
And shouldn't the "any other" behavior be text/plain?
Then would need .htm .html
-------
End of errata
----------------------------
Some history from Common Lisp...
Re: SETQ vs SETF
http://coding.derkeiler.com/Archive/Lis ... /2218.html
From: Christopher C. Stacy (cstacy_at_news.dtpq.com)
Date: 03/24/04
Date: Wed, 24 Mar 2004 06:03:14 GMT
>>>>> On Wed, 24 Mar 2004 04:15:23 GMT, David Steuber ("David") writes:
David> Is there ever a reason to use setq in preference to setf?
David> Since setf can do what setq can do, and more,
David> why should anyone use setq?
David> There is also set, but the CLHS says it is deprecated.
SETQ and SET are historical legacies from the original Lisp
languages that directly preceeded Common Lisp. SETF was new,
and was not used by the large body of existing programs for
which Common Lisp was designed to be portability target.
Note that SETQ is "a special form of SET", and so if you are
writing code that sets variables by calling the SET function,
you might want nearby code to employ the contrasting SETQ function.
But people don't really write SET anymore, because most variables
are lexical variables. And if you want to set a value cell,
nowadays you can SETF the SYMBOL-VALUE instead.
The only reason to write SETQ anymore is to highlight the fact that
you're setting a variable. This is a pretty weak argument. since it's
syntactically obvious that you're setting a variable. (And it's not
even guaranteed to be true, anyway, in the face of symbol macros.)
If we were inventing a new Lisp dialect today, willing to break
compatability with old Lisp programs, we would get rid of SET, SETQ,
and SETF -- and we would just have a form named SET (meaning SETF).
When hacking variables, I always write SETQ rather than SETF.
Mostly this is because I am a geezer who has been writing it
that way since before Common Lisp was a twinkle in the eye.
And when I think about modernizing my personal style to use SETF
instead of SETQ, I get as annoyed by the letter "F" as by the "Q".
I am then tempted to start writing in my own dialect, using the
package system to make "SET" mean "SETF".
And I can't quite bring myself to do that.
Yet.
-------
And from this forum discussing SETF vs SETQ:
http://www.cocreateusers.org/forum/show ... php?t=5109
Thanks Calus & Jones...
Both of your replies are quite useful to me... in short i have concluded
Setq=set Quantity
Setf= set Field
--------
Maybe it should be SETI - for SET (list) Item...
That would then make it an out of this world function ;)
http://en.wikipedia.org/wiki/SETI
-- xytroxon