Use of Stream.icons
Stream.icons
resets the internal count to 0 which is not coherent with what count
represents, namely:
val count : 'a t -> int
Return the current count of the stream elements, i.e. the number of the stream elements discarded.
We should investigate the uses of Stream.icons
in CDuce code and see if we could use a non buggy icons
function, i.e. a function that does not reset count to 0 (ping @kn )