HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulesvg-builder-0.1.1Haskell2010

Graphics.Svg.Core

svg-builder Core types and functions.

  • 2 types
  • 2 classes
  • 8 values

Types

4 declarations
datadata Attribute
#

Attribute name value.

Instances3Eq, Show, Hashable
newtypenewtype Element
#

Type of an SVG element.

Instances6Show, IsString, Semigroup, Monoid, Term
classclass Term result where
#

Used to make specific SVG element builders.

Methods

  • term :: Text -> [Attribute] -> result

    Used for constructing elements e.g. term "circle" yields circle_.

Instances2Term

Combinators

5 declarations

Rendering

3 declarations