package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val all : 'a option list -> 'a list option
val traverse : 'a list -> f:('a -> 'b option) -> 'b list option

Like all (List.map t ~f) but short-circuits on the first None.

OCaml

Innovation. Community. Security.