[alexandria-devel] COPY-FILE conflict.
Nikodemus Siivola
nikodemus at random-state.net
Sun Nov 23 09:12:40 UTC 2008
On Sat, Nov 22, 2008 at 4:58 PM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> [*] http://common-lisp.net/project/alexandria/darcs/alexandria/io.lisp
FWIW, here's my first impression (I haven't really been paying
attention to io.lisp):
WITH-INPUT-FROM-FILE, WITH-OUTPUT-TO-FILE: don't like. :DIRECTION
:INPUT / :OUTPUT is just as good, saved keypresses not worth the
opacity. (This is something a lot of people end up macroexpanding, I
think, because it is not obvious that there isn't additional magic
going on.)
READ-FILE-INTO-STRING, WRITE-STRING-INTO-FILE: ok. -INTO has the
MAP-INTO like destructive connoctation for me, but no biggie.
COPY-FILE, COPY-STREAM: ok. (Don't understand the FORCE-OUTPUT in
COPY-STREAM though: FINISH-OUTPUT or nothing would make sense to me,
but the weak guarantee of FORCE-OUTPUT doesn't.)
(Apropos, I would suggest that CL-FAD depending on
SB-EXECUTABLE:COPY-STREAM is not a good thing. (1) There is no magic
there. (2) SB-EXECUTABLE is the winner of the Contrib Module Most
Likely To Go Away price. (3) Even if it doesn't go avay, COPY-STREAM
is the winner of the Symbol Most Likely To Be Unexported price.)
Cheers,
-- Nikodemus
More information about the alexandria-devel
mailing list