Copyright | (c) 2011-2015 diagrams-core team (see LICENSE) |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | diagrams-discuss@googlegroups.com |
Safe Haskell | None |
Language | Haskell2010 |
The Query
module defines a type for "queries" on diagrams, which
are functions from points in a vector space to some monoid.
Documentation
A query is a function that maps points in a vector space to values in some monoid. Queries naturally form a monoid, with two queries being combined pointwise.
The idea for annotating diagrams with monoidal queries came from the graphics-drawingcombinators package, http://hackage.haskell.org/package/graphics-drawingcombinators.
Functor v => Corepresentable (Query v) Source # | |
Functor v => Profunctor (Query v) Source # | |
Functor v => Closed (Query v) Source # | |
Functor v => Costrong (Query v) Source # | |
Functor v => Cosieve (Query v) (Point v) Source # | |
Monad (Query v n) Source # | |
Functor (Query v n) Source # | |
Applicative (Query v n) Source # | |
Distributive (Query v n) Source # | |
Representable (Query v n) Source # | |
Semigroup m => Semigroup (Query v n m) Source # | |
Monoid m => Monoid (Query v n m) Source # | |
Wrapped (Query v n m) Source # | |
(Additive v, Num n) => HasOrigin (Query v n m) Source # | |
(Additive v, Num n) => Transformable (Query v n m) Source # | |
Rewrapped (Query v a m) (Query v' a' m') Source # | |
type Corep (Query v) Source # | |
type Rep (Query v n) Source # | |
type Unwrapped (Query v n m) Source # | |
type N (Query v n m) Source # | |
type V (Query v n m) Source # | |