package ppx_expect_nobase

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17+nobase.tar.gz
sha256=304f9e7141a486c0206ecdfcde09e57a022481a71539e5dbb530c0224e7e5d33

doc/ppx_expect_nobase.utils/Utils/index.html

Module UtilsSource

Sourcemodule Exn : sig ... end
include sig ... end
Sourcetype t = string
Sourceval split_on_chars : t -> on:char list -> t list
Sourceval string_rstrip : ?drop:(char -> bool) -> t -> t
Sourceval is_prefix : string -> prefix:string -> bool
Sourceval string_is_empty : string -> bool
Sourceval string_prefix : string -> int -> string
Sourceval string_drop_prefix : string -> int -> string
Sourceval raise_with_original_backtrace : exn -> Printexc.raw_backtrace -> 'a
Sourceexception Finally of exn * exn
Sourceval protectx : f:('a -> 'b) -> 'a -> finally:('a -> unit) -> 'b
Sourcemodule In_channel : sig ... end
Sourcemodule Out_channel : sig ... end
include sig ... end
Sourceval remove_consecutive_duplicates : ?which_to_keep:[< `First | `Last Last ] -> 'a ListLabels.t -> equal:('a -> 'a -> bool) -> 'a ListLabels.t
Sourceval dedup_and_sort : 'a ListLabels.t -> compare:('a -> 'a -> int) -> 'a ListLabels.t

returns sorted version of list with duplicates removed

Sourceval list_is_empty : 'a list -> bool
Sourceval list_intersperse : 'a list -> sep:'a -> 'a list
OCaml

Innovation. Community. Security.