-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
50,430 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
=Functor <<a_api_type | module Html_f.Make >> = | ||
<<pre class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|module>> <<span class="ocsforge_color_uid"|<<span class="ocsforge_color_uid"|Make>>>> <<span class="ocsforge_color_delimiter"|(>>Xml <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Xml_sigs.T" | module Xml_sigs.T >>>><<span class="odocwiki_type"| with type ('a, 'b) W.ft = 'a -> 'b>><<span class="ocsforge_color_delimiter"|)>> \\ <<span class="ocsforge_color_delimiter"|(>>Svg <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Svg_sigs.T" | module Svg_sigs.T >>>><<span class="odocwiki_type"| with module Xml := Xml>><<span class="ocsforge_color_delimiter"|)>> : \\ \\ <<span class="odocwiki_type"|<<a_api text="Html_sigs.Make" | module Html_sigs.Make >>(Xml)(Svg).T>><<span class="odocwiki_type"| \\ with type +'a elt = Xml.elt\\ and type +'a attrib = Xml.attrib>>>>~Create a new implementation of <<span class="odocwiki_inlinecode"|~H~T~M~L>>~, using the given underlying <<span class="odocwiki_inlinecode"|~Xml>> | ||
and <<span class="odocwiki_inlinecode"|~Svg>> implementation~. ~Will output a module of type <<a_api | module type Html_sigs.T >> with | ||
the various type equalities~. | ||
|
||
~If your <<span class="odocwiki_inlinecode"|~Xml>> implementation uses a special function wrapping~, use | ||
<<a_api | module Html_f.Make_with_wrapped_functions >>~. | ||
<<div class="odocwiki_module_param_list" | <<span class="odocwiki_param_title" |Parameters :>><<div| | ||
|@@class="odocwiki_paramstable"@ @class="centertop fifteen code"@@{{{Xml}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b>>| | ||
|@@class="centertop fifteen code"@@{{{Svg}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Svg_sigs.T with module Xml := Xml>>| | ||
>>>> | ||
|
||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
=Functor <<a_api_type | module Html_f.Make_with_wrapped_functions >> = | ||
<<pre class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|module>> <<span class="ocsforge_color_uid"|<<span class="ocsforge_color_uid"|Make_with_wrapped_functions>>>> <<span class="ocsforge_color_delimiter"|(>>Xml <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Xml_sigs.T" | module Xml_sigs.T >>>><<span class="ocsforge_color_delimiter"|)>> \\ <<span class="ocsforge_color_delimiter"|(>>C <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Html_sigs.Wrapped_functions" | module Html_sigs.Wrapped_functions >>>><<span class="odocwiki_type"| with module Xml = Xml>><<span class="ocsforge_color_delimiter"|)>> \\ <<span class="ocsforge_color_delimiter"|(>>Svg <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Svg_sigs.T" | module Svg_sigs.T >>>><<span class="odocwiki_type"| with module Xml := Xml>><<span class="ocsforge_color_delimiter"|)>> : \\ \\ <<span class="odocwiki_type"|<<a_api text="Html_sigs.Make" | module Html_sigs.Make >>(Xml)(Svg).T>><<span class="odocwiki_type"| \\ with type +'a elt = Xml.elt\\ and type +'a attrib = Xml.attrib>>>>~Similar to <<a_api | module Html_f.Make >> but with a custom set of wrapped functions~. | ||
<<div class="odocwiki_module_param_list" | <<span class="odocwiki_param_title" |Parameters :>><<div| | ||
|@@class="odocwiki_paramstable"@ @class="centertop fifteen code"@@{{{Xml}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Xml_sigs.T>>| | ||
|@@class="centertop fifteen code"@@{{{C}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Html_sigs.Wrapped_functions with module Xml = Xml>>| | ||
|@@class="centertop fifteen code"@@{{{Svg}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Svg_sigs.T with module Xml := Xml>>| | ||
>>>> | ||
|
||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
=Functor <<a_api_type | module Html_f.Wrapped_functions >> = | ||
<<pre class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|module>> <<span class="ocsforge_color_uid"|<<span class="ocsforge_color_uid"|Wrapped_functions>>>> <<span class="ocsforge_color_delimiter"|(>>Xml <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Xml_sigs.T" | module Xml_sigs.T >>>><<span class="odocwiki_type"| with type ('a, 'b) W.ft = 'a -> 'b>><<span class="ocsforge_color_delimiter"|)>> : \\ <<span class="odocwiki_type"|<<a_api text="Html_sigs.Wrapped_functions" | module Html_sigs.Wrapped_functions >>>><<span class="odocwiki_type"| with module Xml = Xml>>>>~The standard set of wrapped functions~, when <<span class="odocwiki_inlinecode"|~W~.ft>> is the regular function~. | ||
<<div class="odocwiki_module_param_list" | <<span class="odocwiki_param_title" |Parameters :>><<div| | ||
|@@class="odocwiki_paramstable"@ @class="centertop fifteen code"@@{{{Xml}}}|@@class="centertop"@@:|<<span class="odocwiki_type"|Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b>>| | ||
>>>> | ||
|
||
---- | ||
<<pre class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|module>> <<a_api text="Xml" | module Html_sigs.Wrapped_functions.Xml >> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<a_api text="Xml_sigs.T" | module Xml_sigs.T >>>><<span class="odocwiki_type"| >>>><<pre id="VALstring_of_big_variant" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_big~_variant>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.big_variant" | type Html_types.big_variant >> ], string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_bool" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_bool>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>bool, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALonoff_of_bool" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|onoff~_of~_bool>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>bool, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_character" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_character>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >><<a_api text="Html_types.character" | type Html_types.character >>, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_input_type" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_input~_type>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.input_type" | type Html_types.input_type >> ], string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_script_type" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_script~_type>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.script_type" | type Html_types.script_type >> ], string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_number_or_datetime" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_number~_or~_datetime>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.number_or_datetime" | type Html_types.number_or_datetime >> ], string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_linktypes" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_linktypes>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.linktype" | type Html_types.linktype >> ] list, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_mediadesc" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_mediadesc>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.mediadesc_token" | type Html_types.mediadesc_token >> ] list, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_referrerpolicy" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_referrerpolicy>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.referrerpolicy" | type Html_types.referrerpolicy >> ], string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_numbers" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_numbers>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >><<a_api text="Html_types.numbers" | type Html_types.numbers >>, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_sandbox" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_sandbox>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="Html_types.sandbox_token" | type Html_types.sandbox_token >> ] list, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_sizes" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_sizes>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >><<span class="ocsforge_color_delimiter"| ( >><<a_api text="Html_types.number" | type Html_types.number >> * <<a_api text="Html_types.number" | type Html_types.number >><<span class="ocsforge_color_delimiter"| ) >> list option, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre class="ocsforge_color odocwiki_code" id="TYPEimage_candidate"|<<span class="ocsforge_color_keyword"|type>> <<span class="odocwiki_name"|image~_candidate>> <<span class="ocsforge_color_delimiter"|~=>> <<span class="odocwiki_type"|\\ [ `Url of <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|uri>>\\ | `Url_pixel of <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|uri>> * <<a_api text="Html_types.float_number" | type Html_types.float_number >>\\ | `Url_width of <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|uri>> * <<a_api text="Html_types.number" | type Html_types.number >> ]>> >><<pre id="VALstring_of_srcset" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_srcset>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >>[< <<a_api text="image_candidate" | type Html_sigs.Wrapped_functions.image_candidate >> ] list, string<<span class="ocsforge_color_delimiter"| ) >>\\ <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_autocomplete" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_autocomplete>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|\\ <<span class="ocsforge_color_delimiter"| ( >><<a_api text="Html_types.autocomplete_option" | type Html_types.autocomplete_option >>, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALstring_of_step" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|string~_of~_step>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>float option, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>><<pre id="VALunoption_string" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|val>> <<span class="odocwiki_name"|unoption~_string>> <<span class="ocsforge_color_delimiter"|~:>> <<span class="odocwiki_type"|<<span class="ocsforge_color_delimiter"| ( >>string option, string<<span class="ocsforge_color_delimiter"| ) >> <<span class="ocsforge_color_uid"|Xml>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_uid"|W>><<span class="ocsforge_color_delimiter"| . >><<span class="ocsforge_color_lid"|ft>>>>>> |
Oops, something went wrong.