[Cuis-dev] [FIX] `#(1 2 3) printOn:Transcript` does not work

Juan Vuletich juan at cuis.st
Thu Oct 20 15:25:14 PDT 2022


On 10/20/2022 12:26 PM, Gerald Klix via Cuis-dev wrote:
> Hi all, Hi Juan,
>
> Two weeks ago I discovered, that `<some set> printOn: Transcript`
> does not work. This is true for every collection, because
> Collection#printElementsOn: uses PossitionableStream's protocol.
>
> I am not quite sure, whether there is requirement for printOn:
> to restrict itself to Stream's protocol, because the method's
> first implementation is more than 22 years old.
> Anyways, I consider it nicer and -- more important -- less
> surprising that way and `StdIOWriteStream stdout` has the
> same issue without any easy workaround.
>
> Please, find attached a fix for that issue.
>
>
> HTH and Best Regards,
>
> Gerald

Thanks. Now at GitHub.

Cheers,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list