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

Classlikes

final class PartiallyAppliedWriterBuilder[In](val dummy: Boolean) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Types

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

Value members

Concrete methods

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

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, _$22], [_] =>> Writer[Message, Message, _$23]]

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 combineCompilers[Message](left: CachedSchemaCompiler[[_] =>> Writer[Message, Message, _$2]], right: CachedSchemaCompiler[[_] =>> Writer[Message, Message, _$3]]): CachedSchemaCompiler[[_] =>> Writer[Message, Message, _$4]]
def composeK[In0, In, Out](f: In0 => In): PolyFunction[[_] =>> Writer[In, Out, _$24], [_] =>> Writer[In0, Out, _$25]]

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, _$28], [_] =>> Writer[Message, Message, _$29]]

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 lift[In, Message, A](f: (In, A) => Message): Writer[In, Message, A]

Creates an writer from a function.

Creates an writer from a function.

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, _$30], [_] =>> Writer[Message, Message, _$31]]

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, _$34], In => Out]