package picos_std

  1. Overview
  2. Docs

Source file list_ext.ml

1
2
3
let[@tail_mod_cons] rec drop_first_or_not_found x' = function
  | [] -> raise_notrace Not_found
  | x :: xs -> if x == x' then xs else x :: drop_first_or_not_found x' xs
OCaml

Innovation. Community. Security.