News for hackers. Stuff that matters.
Re:Experiment: Unit testing isn't enough; You need static ty... by dons on Wednesday June 20, 2012 @10:18AM (#4137062)
> the function doesn't care about the type, but just whether it implements a next() method?

You're describing an "existential" type.

Re:Experiment: Unit testing isn't enough; You need static ty... by dllthomas on Wednesday June 20, 2012 @12:43PM (#4137782)
... or a typeclass.