Skip to content
Browse files

let's call it Mappable

  • Loading branch information...
1 parent 014f2f0 commit e37dd038eea2d06483ae7194445cbf8e45286124 @n8han n8han committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/main/scala/projections.scala
View
4 core/src/main/scala/projections.scala
@@ -6,7 +6,7 @@ object PromiseEither {
type EitherSwap[+A,+B] = Either[B,A]
- type IterableProjection[+A,+B,E[+_,+_]] = {
+ type Mappable[+A,+B,E[+_,+_]] = {
def foreach[U](f: A => U): Any
def map[X](f: A => X): E[X,B]
def flatMap[BB >: B, X](f: A => E[X,BB]): E[X,BB]
@@ -14,7 +14,7 @@ object PromiseEither {
trait GenericProjection[+A,+B,E[+_,+_]] {
protected def underlying: Promise[E[A,B]]
- protected def project: IterableProjection[A,B,E]
+ protected def project: Mappable[A,B,E]
private class Delegate extends DelegatePromise[E[A,B]] {
def delegate = underlying
}

0 comments on commit e37dd03

Please sign in to comment.
Something went wrong with that request. Please try again.