package ppx_expect_nobase

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.