Writer

smithy4s.codecs.Writer$
See theWriter companion trait
object Writer

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Writer.type

Members list

Type members

Types

type CachedCompiler[In, Out] = CachedSchemaCompiler[[_] =>> Writer[In, Out, _$1]]

Value members

Concrete methods

def andThenK[In, Out, Out0](f: Out => Out0): PolyFunction[[_] =>> Writer[In, Out, _$2], [_] =>> Writer[In, Out0, _$3]]

Lifts an Output transformation as a higher-kinded function that operates on writers.

Lifts an Output transformation as a higher-kinded function that operates on writers.

Attributes

def andThenK_[Message](f: Message => Message): PolyFunction[[_] =>> Writer[Message, Message, _$6], [_] =>> Writer[Message, Message, _$7]]

Lifts an Output transformation as a higher-kinded function that operates on writers.

Lifts an Output transformation as a higher-kinded function that operates on writers.

Attributes

def composeK[In0, In, Out](f: In0 => In): PolyFunction[[_] =>> Writer[In, Out, _$8], [_] =>> Writer[In0, Out, _$9]]

Lifts an Input transformation as a higher-kinded function that operates on writers.

Lifts an Input transformation as a higher-kinded function that operates on writers.

Attributes

def composeK_[Message](f: Message => Message): PolyFunction[[_] =>> Writer[Message, Message, _$12], [_] =>> Writer[Message, Message, _$13]]

Lifts an Input transformation as a higher-kinded function that operates on writers, when the Input and Output are of the same type.

Lifts an Input transformation as a higher-kinded function that operates on writers, when the Input and Output are of the same type.

Attributes

def encodeBy[A, Message](f: A => Message): Encoder[Message, A]

Creates an encoder (a writer that takes any input) from a function.

Creates an encoder (a writer that takes any input) from a function.

Attributes

def encodeStatic[Message](message: Message): Encoder[Message, Any]

Creates an encoder (a writer that takes any input) from a static output.

Creates an encoder (a writer that takes any input) from a static output.

Attributes

def noop[Message]: Writer[Message, Message, Any]

Creates a writer that returns its input as its output, without taking the data into consideration

Creates a writer that returns its input as its output, without taking the data into consideration

Attributes

def pipeDataK[Message, Out](other: Writer[Message, Message, Out]): PolyFunction[[_] =>> Writer[Message, Out, _$14], [_] =>> Writer[Message, Message, _$15]]

Lifts an piping transformation that connects the output channel of a writer to the data channel of another writer.

Lifts an piping transformation that connects the output channel of a writer to the data channel of another writer.

Attributes

Implicits

Implicits

implicit def writerEncoderK[In, Out]: EncoderK[[_] =>> Writer[In, Out, _$18], In => Out]