Hacker News new | ask | show | jobs
by whateveracct 4068 days ago
That's because the Scala stdlib doesn't abstract over things that can be mapped over. If you want to do that, then you need a typeclass. Scalaz has a typeclass for mappable things and it's called Functor.