Erik Huelsmann ehuels@gmail.com writes:
Hi Stas,
Thanks for the patch. I think your solution is best, because I'd expect people to expect STREAM-ELEMENT-TYPE to return what they set it to.
Committed as r14070.
Another option would be to have an additional slot for the stream class which would hold the result of type expansion, potentially expanding it every time can slow things down, but I haven't actually benchmarked it.