Attr

dev.constructive.eo.schemes.zoo.Attr
See theAttr companion object
final case class Attr[F[_], A](head: A, tail: F[Attr[F, A]])

Cofree-without-laziness: a fold result (head) decorating one layer of already-decorated children (tail). The histomorphism's algebra sees F[Attr[F, A]] — each child's result plus that child's entire decorated history.

Type parameters

A

the fold result decorating each node

F

the pattern functor

Attributes

Companion
object
Source
Attr.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala