3 ms·
The other problem are type errors, which would then require knowing about Foldable to operate on lists. The same type of solution that you propose for docs can
by kqr 7y ago
The other problem are type errors, which would then require knowing about Foldable to operate on lists.
The same type of solution that you propose for docs can work here too, though. The compiler can trivially substitute the typeclass for any known instance.