BaseConstructor

doodle.algebra.BaseConstructor

Base module for constructors

The intention is to assist with type inference for constructors by defining constructors that are parameterized by the Algebra and Drawing types, and instantiating those types within each backend.

Algebras that define constructors should also define a constructor mixin. See e.g. Shape for an example.

Attributes

Source:
BaseConstructor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

Attributes

Source:
BaseConstructor.scala
type Drawing[A]

Attributes

Source:
BaseConstructor.scala
type Picture[A] = Picture[Algebra, A]

Attributes

Source:
BaseConstructor.scala