Skip to content

Yzl core yzl

Yzl Module

Namespace: Yzl.Core

Assembly: Yzl.dll

Types

Type Description Source
Builder Link to source code
Name Represents the key in a YAML key-value pair Link to source code
NamedNode YAML key-value pair Link to source code
Node YAML node types Link to source code
RenderOptions YAML rendering options Link to source code
Scalar YAML scalar types Link to source code
Str YAML string types Link to source code

Functions and values

Function or value Description Source
Yzl.lift x Lifts a given object to a Node

Possible mappings are specified as implicit casts of the Node type

Parameters

x: ^a

Returns: ^b
Link to source code
Yzl.liftMany x Parameters

x: ^a list

Returns: ^b list
Link to source code
Yzl.render obj Renders Yzl tree into YAML with the default RenderOptions

Parameters

obj: ^a

Returns: string

Example
Render an Yzl node: ! 5 |> Yzl.render
Link to source code
Yzl.renderYaml opts yaml Renders Yzl tree into YAML

Parameters

opts: RenderOptions
yaml: Node

Returns: string
Link to source code