package tyxml

  1. Overview
  2. Docs
A library for building correct HTML and SVG documents

Install

Dune Dependency

Authors

Maintainers

Sources

tyxml-4.6.0.tbz
sha256=bfeb673c6b4e120a4eca4c48448add47dc3f8d02c2b40f63ffdccc4e91c902dd
sha512=69750eeaf467014282087bf9628f3278f3e5f00f4c7400358750d208664cfc3f79a5cba16767d2935e53477d1a6862fe08c5b801b69052ec12e09d1a93a5e9b4

doc/tyxml.functor/Svg_f/index.html

Module Svg_fSource

Typesafe constructors for SVG documents (Functorial interface)

This module is experimental, it may lack of some attributes, and the interface is very low level and do not take deeply into account the needs of SVG elements.

See <<a_manual chapter="functors"|the manual of the functorial interface>>.

Sourcemodule Make (Xml : Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b) : Svg_sigs.Make(Xml).T with type +'a elt = Xml.elt and type +'a attrib = Xml.attrib

Create a new implementation of Svg, using the given underlying Xml implementation. Will output a module of type Svg_sigs.T with the various type equalities.

Sourcemodule Wrapped_functions (Xml : Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b) : Svg_sigs.Wrapped_functions with module Xml = Xml

The standard set of wrapped functions, when W.ft is the regular function.

Similar to Make but with a custom set of wrapped functions.

OCaml

Innovation. Community. Security.