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 Monad
Attributes
- Companion
- object
- Source
- Algebra.scala
- Graph
-
- Supertypes
- Known subtypes
-
trait Bitmaptrait ReifiedBitmapclass Algebratrait Blendtrait Debugtrait GenericDebug[G]class CanvasAlgebratrait BaseAlgebraclass JvmAlgebratrait Basictrait FromBufferedImagetrait Java2dFromBufferedImagetrait FromGifBase64trait Java2dFromBase64trait FromJpgBase64trait FromPngBase64trait Layouttrait GenericLayout[G]trait Pathtrait GenericPath[G]trait Pathtrait ReifiedPathtrait Pathtrait Shapetrait GenericShape[G]trait Shapetrait ReifiedShapetrait Shapetrait Sizetrait GenericSize[G]trait Styletrait GenericStyle[G]trait Texttrait GenericText[G]trait Texttrait ReifiedTexttrait Texttrait Transformtrait GenericTransform[G]trait MouseOver
Members list
In this article