package tyxml

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tyxml-5.0.0.tbz
sha256=c725bb8918ff1b601e7926b7b6b4799f8f4ab70f5fba9f0970da657cb82c07f2
sha512=61881aa7101b5072b887802e78897920516c9c2b484d51ac281509e83c79969c7654caa31b125ad843b45740dfe143ed5218fd7e4d98dfba8e0b24b272308ed6

doc/tyxml.functor/Html_f/index.html

Module Html_fSource

Typesafe constructors for HTML documents (Functorial interface)

See the manual of the functorial interface.

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

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

Sourcemodule Wrapped_functions (Xml : Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b) : Html_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.