[r6rs-discuss] [Formal] allow port position to be "magic cookie"

Jon Wilson j85wilson at fastmail.fm
Thu Mar 15 22:59:49 EDT 2007


Hi Per,

Per Bothner wrote:
> Jon Wilson wrote:
>> Does having a straightforward wrapping further any of the guiding 
>> principles listed in the introduction of the report?  Furthermore, 
>> does having a straightforward wrapping further those guiding 
>> principles better than or more than a design decision which does not 
>> result in a straightforward wrapping of fgetpos/fsetpos?
>
> If you want to provide the functionality of being able to seek,
> and if you accept there are some systems that require the fpos_t
> magic cookies (as used by fgetpos/fsetpos), and if you want a
> portable implementations, then using fgetpos/fsetpos gets you
> the required functionality in a portable manner.
>
> I don't know if that answers your question.

Fair enough.  I think I was primarily just being pedantic, and wanting 
to make sure that straightforward wrapping of fgetpos/fsetpos really 
connected back to the guiding principles.  This seems to be a decent 
enough answer.  Thanks!

Regards,
Jon



More information about the r6rs-discuss mailing list