Re: Beyond CL?



"Tron3k" <tron3k@xxxxxxxxx> writes:
> Let's say I've given up on trying to change the Common Lisp standard,
> heh. So I won't be forcing anything on anybody.
>
> I'm wondering about 'taste' ... are some 'tastes' universal? For
> example, I think everyone could agree on which one is nicer-looking:
>
> (defun dec-list (lst)
> (mapcar #'1- lst))
>
> (def (dec-list lst)
> (map 1- lst))

I don't know about taste, but why would you want to change Common Lisp
when you can perfectly write:

(defpackage "MY-PGM" (:use "MY-SHORTNAME-LISP"))
(in-package "MY-PGM)
(def (dec-list lst)
(map 1- lst))

instead of:

(DEFPACKAGE "my-pgm" (:USE "common-lisp"))
(IN-PACKAGE "my-pgm)
(defun dec-list (lst)
(mapcar #'1- lst))

and it's not even hard to implement.

> Heh, one of the features in my new language is complicated to implement
> in Common Lisp. I might need to write a whole new reader in order to do
> it. Yes, I can do whatever I want, but it's kind of like saying you can
> do whatever you want in C if you write a compiler that takes your new
> language to C. ;)

Why do you think there's a Greenspun's Tenth Law?


--
__Pascal Bourguignon__ http://www.informatimago.com/

Nobody can fix the economy. Nobody can be trusted with their finger
on the button. Nobody's perfect. VOTE FOR NOBODY.
.



Relevant Pages

  • Re: Coding style
    ... while lst: ... A dozen posts, but nobody has posted the right ... non-computer language): ...
    (comp.lang.python)
  • Re: Skolem paradoxical state of affairs
    ... and "COUNTABLE OUTSIDE M" are not necessarily equivalent! ... But still we have what I call a criterion problem, ... expressibility of 1st order language, ... And nothing LST states would be contradictory. ...
    (sci.logic)
  • Re: Coding style
    ... while lst: ... but nobody has posted the right ... It looks like there are two crowds, terse and verbose. ...
    (comp.lang.python)
  • Re: Coding style
    ... PTY wrote: ... while lst: ... A dozen posts, but nobody has posted the right ...
    (comp.lang.python)