drop view for iterator in IMap

This commit is contained in:
Mark Harrah 2013-10-23 09:46:43 -04:00
parent 4f422ccac7
commit d30a3f3bfd
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ object IMap
def mapSeparate[VL[_], VR[_]](f: V ~> ({type l[T] = Either[VL[T], VR[T]]})#l ) =
{
val mapped = backing.view.map { case (k,v) => f(v) match {
val mapped = backing.iterator.map { case (k,v) => f(v) match {
case Left(l) => Left((k, l))
case Right(r) => Right((k, r))
}}