ReadResult

kantan.csv.ReadResult
object ReadResult extends Simple[ReadError]

Provides useful methods for creating instances of ReadResult.

Attributes

Graph
Supertypes
trait Simple[ReadError]
trait Simple[ReadError]
class Object
trait Matchable
class Any
Self type
ReadResult.type

Members list

Value members

Inherited methods

def failure(f: ReadError): Either[ReadError, Nothing]

Turns the specified value into a failure.

Turns the specified value into a failure.

Attributes

Inherited from:
Simple
def sequence[S, M <: (IterableOnce)](rs: M[Either[ReadError, S]])(implicit bf: BuildFrom[M[Either[ReadError, S]], S, M[S]]): Either[ReadError, M[S]]

Turns a collection of results into a result of a collection.

Turns a collection of results into a result of a collection.

Attributes

Inherited from:
Simple
def success[S](s: S): Either[ReadError, S]

Turns the specified value into a success.

Turns the specified value into a success.

Attributes

Inherited from:
Simple