[slime-devel] Re: stream-file-position in CCL

Michael Weber michaelw+slime at foldr.org
Sun Aug 31 09:54:28 UTC 2008


On Aug 30, 2008, at 23:07 , Stas Boukarev wrote:

> On 8/31/08, Stas Boukarev <stassats at gmail.com> wrote:
>> Clozure CL has no recently added `stream-file-position' in their gray
>> streams implementation.
>
>
> But it has `stream-position'.

I see that Helmut has already reverted this part.

For the record, the original proposal did not appear to mention *- 
POSITION <ftp://ftp.csl.sri.com/pub/users/gilham/stream-definition-by-user.mail 
 >.

trivial-gray-streams calls this function STREAM-FILE-POSITION, as do  
CMUCL, SBCL, LispWorks <http://www.lispworks.com/documentation/lw51/LWRM/html/lwref-619.htm 
 >, and ACL <http://www.franz.com/support/documentation/current/doc/streams.htm 
 >.

CLISP calls it STREAM-POSITION <http://clisp.cons.org/impnotes/gray-gf-general.html 
 >, as does CCL apparently.

Some unification would be nice, and STREAM-POSITION is probably the  
better name because the operation can well be supported for non-file  
streams (flexi-streams uses the name FLEXI-STREAM-POSITION).


Cheers,
Michael



More information about the slime-devel mailing list