typeclasses and Haskell

getting cray with typeclasses to implement kindasorta-variadic functions