doodle.algebra.Algebra
See theAlgebra companion object
trait Algebra
Base type for algebras that produce results in some effect type Drawing
.
Users of algebras should use dependent method types (or dependent function
types in Scala 3) to return the Drawing
type of the method they are
passed:
def usingAlgebra(algebra: Algebra): algebra.Drawing = ???
All Drawing
types are required to implement Applicative
Attributes
- Companion:
- object
- Source:
- Algebra.scala
- Graph
- Supertypes
- Known subtypes
- trait Bitmaptrait Blendtrait Debugtrait GenericDebug[G]trait Basictrait FromGifBase64trait FromJpgBase64trait FromPngBase64trait Layouttrait GenericLayout[G]trait Pathtrait GenericPath[G]trait Shapetrait GenericShape[G]trait Sizetrait GenericSize[G]trait Styletrait GenericStyle[G]trait Texttrait GenericText[G]trait Transformtrait GenericTransform[G]