--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
To post to this group, send email to qil...@googlegroups.com.
Visit this group at http://groups.google.com/group/qilang.
For more options, visit https://groups.google.com/d/optout.
Bruno Deferrari <uti...@gmail.com> wrote:
> Btw feel free to suggest different names, args, etc, some things could be
> different, for example, the stream-seek functions could return the stream
> instead of the passed position value, I didn't give it much thought.
I think that returning resulting position is more useful. But would
prefer more consistent syntax.
stream-position (stream A) --> number
stream-set-position (stream A) --> number --> number
or
stream-position (stream A) --> number
stream-position-> (stream A) --> number --> number
Also I am not sure about these:
stream-seek-from-current (stream A) --> number --> number
stream-seek-from-end (stream A) --> number --> number
probably
stream-position-> (stream A) --> number --> symbol --> number
would be more 'idiomatic'.
> >> email to qilang+unsubscribe@googlegroups.com.
> >> To post to this group, send email to qil...@googlegroups.com.
> >> Visit this group at http://groups.google.com/group/qilang.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Shen" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to qilang+unsubscribe@googlegroups.com.
> >> To post to this group, send email to qil...@googlegroups.com.
> >> Visit this group at http://groups.google.com/group/qilang.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
> >
> >
> > --
> > BD
> >
>
>
>
> --
> BD
>
> --
> You received this message because you are subscribed to the Google Groups "Shen" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to qilang+unsubscribe@googlegroups.com.
> To post to this group, send an email to qil...@googlegroups.com.
> Visit this group at http://groups.google.com/group/qilang.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+unsubscribe@googlegroups.com.
To post to this group, send an email to qil...@googlegroups.com.
Visit this group at http://groups.google.com/group/qilang.
For more options, visit https://groups.google.com/d/optout.
--BD--BD