Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Svg_f

module Svg_f : sig..end

Typesafe constructors for SVG documents (Functorial interface)


This module defines basic data types for data, attributes and element occuring in SVG documents. It is based on the specification available at http://www.w3.org/TR/SVG/.

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.

module 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
module Wrapped_functions : Svg_sigs.Wrapped_functionswith type (-'a, 'b) ft = 'a -> 'b
module Make_with_wrapped_functions (Xml : Xml_sigs.T) 
   (C :
      Svg_sigs.Wrapped_functions    
       with type (-'a, 'b) ft = ('a, 'b) Xml.W.ft
) :
  
  Svg_sigs.Make(Xml).T
with type +'a elt = Xml.elt
and type +'a attrib = Xml.attrib