package rangeSet

  1. Overview
  2. Docs
RangeSet: a library for sets over ordered ranges

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.2.1.tar.gz
sha256=aa70945d14e6d126dac915c7726c707bb3b89748f1bd5a9b6c62305c91f3c507
md5=73528d7ba605b724022d6b7c605cf2cd

doc/src/rangeSet/utils.ml.html

Source file utils.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(*
 * utils.ml
 * -----------
 * Copyright : (c) 2018 - 2023, ZAN DoYe <zandoye@gmail.com>
 * Licence   : MIT
 *
 * This file is a part of rangeSet.
 *)


(* compatible with ocaml 4.02 *)
let option_get opt=
  match opt with
  | Some v-> v
  | None-> invalid_arg "option is None"