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

Re: In the name of Do

0 views
Skip to first unread message
Message has been deleted

budden

unread,
Jan 5, 2010, 9:07:05 AM1/5/10
to
>  i.do for dotimes
>  l.do for dolist
>  h.do for maphash
>  c.do for do
>  f.do for something you could consider
I think you'd first try to study loop or
(preferrably) iterate. Most preferrably,
iterate-keywords. They suggest more
general and very convinient tools for
iteration. E.g.
(iter
(:for x in list)
(:for i from 0)
... do-something ...)

> l.bind for multiple-value-bind ?
There is already "bind" construct in
metabang-bind library, which suggests short
name for destructuring-bind and
multiple-value-bind.


>  Playing in this way with the names we could construct a dictionary
You might want to take a look at
http://sparcs.kaist.ac.kr/~tinuviel/pleac/pleac.cgi?chapter=1&section=1&ruby=on&commonlisp=on
The best place for this dictionary is in programmers head IMO.


Message has been deleted

Pascal J. Bourguignon

unread,
Jan 5, 2010, 11:02:33 AM1/5/10
to
eduitnoa rubicubez <ruli...@gmail.com> writes:

> l.+ can be append list

log-append?


> s.+ can be concatenate string

scalar-sum?


> i.+ can be sum integers or fixnum

image-concatenation?


> and so on. Just an idea for generating short names [...]

The idea of generating short names is defective.

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

0 new messages