package plist-xml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This library references the Markup.ml library. See also the documentation for that library.
type t = [
| `Bool of bool
| `Data of string
| `Date of float * float option
(*(timestamp, timezone)
*)| `Float of float
| `Int of int
| `String of string
| `Array of t list
(*Array
*)| `Dict of (string * t) list
(*Dictionary
*)
]
Plist values.
val signals :
?encoding:string ->
t ->
(Markup.signal, Markup.sync) Markup.stream
Convert a plist into XML signals.
Exception raised upon a parse error. The error message is purely informational and you should not pattern match on it, as it is subject to change.
module type IO = sig ... end
The module type of synchronous or asynchronous I/O.
module type S = sig ... end
Create a plist parser given an I/O implementation, such as synchronous I/O or Lwt.
include S with type s := Markup.sync and type 'a io := 'a
val plist_of_stream_exn :
(Markup.content_signal, Markup.sync) Markup.stream ->
t
Raises Parse_error
upon failure.
val parse_exn :
?report:(Markup.location -> Markup.Error.t -> unit) ->
?encoding:Markup.Encoding.t ->
?namespace:(string -> string option) ->
?entity:(string -> string option) ->
?context:[< `Document | `Fragment ] ->
(char, Markup.sync) Markup.stream ->
t
Raises Parse_error
upon failure. See documentation for Markup.parse_xml
for labeled parameter information.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>