Attr

dev.constructive.eo.schemes.zoo.Attr
See theAttr companion class
object Attr

Attributes

Companion
class
Source
Attr.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attr.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def decorate[F[_], N, A](alg: F[Attr[F, A]] => A): (N, F[Attr[F, A]]) => Attr[F, A]

The cofree-decorating combine shared by histo / dyna / chrono / metaChrono: tag each rebuilt layer F[Attr[F, A]] with its algebra result, yielding the node's Attr (head = result, tail = the decorated layer). The node argument is unused — the algebra is node-blind.

The cofree-decorating combine shared by histo / dyna / chrono / metaChrono: tag each rebuilt layer F[Attr[F, A]] with its algebra result, yielding the node's Attr (head = result, tail = the decorated layer). The node argument is unused — the algebra is node-blind.

Attributes

Source
Attr.scala
def decorateM[M[_], F[_], N, A](alg: F[Attr[F, A]] => M[A])(using M: Monad[M]): (N, F[Attr[F, A]]) => M[Attr[F, A]]

The effectful cofree-decorating combine shared by histoM / chronoM — the M-lifted decorate: run the effectful algebra on the rebuilt layer, tag the result onto it.

The effectful cofree-decorating combine shared by histoM / chronoM — the M-lifted decorate: run the effectful algebra on the rebuilt layer, tag the result onto it.

Attributes

Source
Attr.scala
def forget[F[_], A](attr: Attr[F, A]): A

Discard the history, keep the top result — histo's final projection.

Discard the history, keep the top result — histo's final projection.

Attributes

Source
Attr.scala