sealed
trait
ResultT[F[_], T, E <: Exception] extends AnyRef
Abstract Value Members
-
abstract
val
run: F[Result[T, E]]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (T) ⇒ Boolean)(implicit functor: scalaz.Functor[F], cte: ClassTag[E]): ResultT[F, T, E with NotMatchingFilter]
-
def
finalize(): Unit
-
def
flatMap[C, E2 <: Exception](f: (T) ⇒ ResultT[F, C, E2])(implicit monad: Monad[F], cte: ClassTag[E2]): ResultT[F, C, E with E2]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[C](f: (T) ⇒ C)(implicit functor: scalaz.Functor[F], cte: ClassTag[E]): ResultT[F, C, E]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): java.lang.String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withFilter(p: (T) ⇒ Boolean)(implicit functor: scalaz.Functor[F], cte: ClassTag[E]): ResultT[F, T, E with NotMatchingFilter]
Inherited from AnyRef
Inherited from Any
ResultT monad transformer
Represents a computation of type
Result[A,B]
.Example: