I think you have a good point. #reset is ambiguous here.
Maybe we should have two methods: #resetIndex and #resetContent
Cheers,
Alexandre
On 20 Jan 2011, at 10:40, Henrik Johansen wrote:
> |writeStream|
> writeStream := String new writeStream.
> writeStream nextPut: $a.
> writeStream reset.
> writeStream isEmpty.
>
> What would you expect?
>
> Cheers,
> Henry
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.