Picture

doodle.algebra.Picture
See thePicture companion trait
object Picture

Attributes

Companion
trait
Source
Picture.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Picture.type

Members list

Implicits

Implicits

implicit def pictureMonadInstance[Alg <: Algebra]: Monad[[_] =>> Picture[Alg, _$1]]

Attributes

Source
Picture.scala
implicit def pictureMonoidInstance[Alg <: Layout & Shape, A](implicit m: Monoid[A]): Monoid[Picture[Alg, A]]

Picture[Alg,A] has a Monoid instance if:

Picture[Alg,A] has a Monoid instance if:

  • the algebra has Layout and Shape; and
  • and the result type has a Monoid.

In this case the combine is on, with identity empty.

Attributes

Source
Picture.scala