Picture

trait Picture[-Alg <: Algebra, A]

Represents a picture, which is a function from a tagless final algebra to some type F that represents drawing a picture with result A. Has a monad instance if F does.

Companion:
object
Source:
Picture.scala
class Object
trait Matchable
class Any
Picture[Alg, A]

Value members

Abstract methods

def apply(implicit algebra: Alg): Drawing[A]