eg 
https://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html

mayhaps?

On Wed, Jul 31, 2019 at 14:37 Vanessa McHale <vamchale@gmail.com> wrote:

Well, I am not aware of any - I don't think I can rule them out a priori.

Cheers,
Vanessa McHale

On 7/31/19 3:41 PM, Raoul Duke wrote:
> (Moreover, one of the advantages of laziness is precisely that one can
write a function like take that works on both streams and lists).

surely that’s not the only way to get such polymorphism in our programming systems? the “precisely” word there makes it sound to me like people think it is better than any alternative specifically for this use case?

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.