reimplement concat using Foldable
CanConcat-typeclass-based solution
Merge pull request #19 from nikita-volkov/concat

Generalize concat