frozenlist icon indicating copy to clipboard operation
frozenlist copied to clipboard

Readme should say why this is useful

Open cool-RR opened this issue 3 years ago • 4 comments

It'll be nice if the readme could answer the question "Why would one want a mutable sequence that can be frozen", i.e. why is this module useful?

cool-RR avatar Jan 06 '23 16:01 cool-RR

@mjpieters do you think you could write something up?

webknjaz avatar Dec 14 '23 16:12 webknjaz

Is it to a avoid the copy that tuple(somelist) would entail?

hannes-ucsc avatar Jun 28 '24 01:06 hannes-ucsc

Also, could freeze() be made to return self and its return type be declared in the stub as Sequence[T]?

hannes-ucsc avatar Jun 28 '24 01:06 hannes-ucsc