* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version,,
* with the special exception on linking described in file LICENSE.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USAExtLib is a set of additional useful functions and modules for OCaml. Current goal is to maintain compatibility, new software is encouraged to not use extlib since stdlib is now seeing many additions and improvements which make many parts of extlib obsolete. For tail-recursion safety consider using other libraries e.g. containers.
Project page : https://github.com/ygrek/ocaml-extlib
Online API documentation : https://ygrek.org/p/extlib/doc/
ocaml >= 4.02cppo - enables conditional compilation to ensure compatibility with various OCaml versionsoptional:
ocamlfind >= 1.5.1 - for make installdune - for dune buildopam install extlib or follow the manual instructions below.
Build with dune:
dune build
or with Makefile:
make minimal=1 build
make installThis will build and install bytecode and native libraries.
On bytecode-only architecture run
make minimal=1 all
make installminimal=1 will exclude from build several modules (namely Base64 Unzip UChar UTF8) potentially conflicting with other well-established OCaml libraries. If your code is expecting to find these modules in extlib - omit this parameter during build to produce the full library.
Generate and read the documentation.
ocaml check_stdlib.ml)make sw_test_allgit log and update CHANGESmake releaseSee LICENSE