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

Value members

Concrete methods

def combineCompilers[Message](left: CachedSchemaCompiler[[_] =>> Writer[Message, _$1]], right: CachedSchemaCompiler[[_] =>> Writer[Message, _$2]]): CachedSchemaCompiler[[_] =>> Writer[Message, _$3]]
def constant[Message](m: Message): Writer[Message, Any]

Creates a writer which returns a constant value

Creates a writer which returns a constant value

Attributes

def lift[Message, A](f: (Message, A) => Message): Writer[Message, A]

Creates an writer from a function.

Creates an writer from a function.

Attributes

def noop[Message]: Writer[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

Implicits

Implicits

implicit def writerEncoderK[Message]: EncoderK[[_] =>> Writer[Message, _$11], Message => Message]