Module Goblint_std.GobYaml

val to_string' : ?len:int -> ?encoding:Yaml.encoding -> ?scalar_style:Yaml.scalar_style -> ?layout_style:Yaml.layout_style -> Yaml.value -> (string, [> `Msg of string ]) Stdlib.result
include module type of struct include Yaml.Util end
exception Value_error of string
val keys : Yaml.value -> string list Yaml.res
val keys_exn : Yaml.value -> string list
val values : Yaml.value -> Yaml.value list Yaml.res
val values_exn : Yaml.value -> Yaml.value list
val combine : Yaml.value -> Yaml.value -> Yaml.value Yaml.res
val combine_exn : Yaml.value -> Yaml.value -> Yaml.value
val find_exn : string -> Yaml.value -> Yaml.value option
val map : (Yaml.value -> Yaml.value) -> Yaml.value -> Yaml.value Yaml.res
val map_exn : (Yaml.value -> Yaml.value) -> Yaml.value -> Yaml.value
val filter : (Yaml.value -> bool) -> Yaml.value -> Yaml.value Yaml.res
val filter_exn : (Yaml.value -> bool) -> Yaml.value -> Yaml.value
val to_string : Yaml.value -> string Yaml.res
val to_string_exn : Yaml.value -> string
val to_bool : Yaml.value -> bool Yaml.res
val to_bool_exn : Yaml.value -> bool
val to_float : Yaml.value -> float Yaml.res
val to_float_exn : Yaml.value -> float
val string : string -> Yaml.value
val bool : bool -> Yaml.value
val float : float -> Yaml.value
val obj : (string * Yaml.value) list -> Yaml.value
include module type of struct include GobResult.Syntax end

Open this to use applicative functor/monad syntax for result.

val let+ : ('a, 'b) Stdlib.result -> ('a -> 'c) -> ('c, 'b) Stdlib.result
val and+ : ('a, 'b) Stdlib.result -> ('c, 'd) Stdlib.result -> ('e * 'f, 'g) Stdlib.result
val let* : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val and* : ('a, 'b) Stdlib.result -> ('c, 'b) Stdlib.result -> ('a * 'c, 'b) Stdlib.result
val (>>=) : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val option_map : ('a -> ('b, 'e) Stdlib.result) -> 'a0 option -> ('b0 option, 'e0) Stdlib.result
val list_map : ('a -> ('b, 'e) Stdlib.result) -> 'a0 list -> ('b0 list, 'e0) Stdlib.result
val find : string -> Yaml.value -> (Yaml.value, [> `Msg of string ]) Stdlib.result
val to_int : Yaml.value -> (int, [ `Msg of string ]) Stdlib.result
val list : [> `A of 'a ] -> ('b, [> `Msg of string ]) Stdlib.result
val entries : [> `O of 'a ] -> ('b, [> `Msg of string ]) Stdlib.result