NesNEListval pp :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a t ->
Ppx_deriving_runtime.unitval show :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
'a t ->
Ppx_deriving_runtime.stringval to_yojson : ('a -> Yojson.Safe.t) -> 'a t -> Yojson.Safe.tval of_yojson :
(Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) ->
Yojson.Safe.t ->
'a t Ppx_deriving_yojson_runtime.error_orval to_list : 'a t -> 'a listConvert a non-empty list to a regular list.
val of_list : 'a list -> 'a t optionConvert a list to a non-empty list.
val of_list_exn : 'a list -> 'a tConvert a list to a non-empty string, or raise Invalid_argument if the list is empty.
val hd : 'a t -> 'aGet the head of a non-empty list, that is the first element of the list.
val tl : 'a t -> 'a listGet the tail of a non-empty list, that is the list without its first element.
Similar to Lwt_list.map_p for non-empty lists.
val singleton : 'a -> 'a tCreate a non-empty list with a single element.
val is_singleton : 'a t -> boolCheck if the non-empty list contains a single element.
val mem : 'a -> 'a t -> boolval exists : ('a -> bool) -> 'a t -> bool