Picture

doodle.algebra.Picture
See thePicture companion object
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.

Attributes

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

Members list

Concise view

Value members

Abstract methods

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

Attributes

Source:
Picture.scala