How to use functions in Ocaml Batteries?

827 Views Asked by At

I would like to use functions of module List of Ocaml Batteries. I have installed Batteries, and write code as follows:

open Extlib
...
Extlib.ExtList.List.remove ...

While compiling, it gives me an error Error: Unbound module Extlib. Does anyone know what happens?

1

There are 1 best solutions below

0
On BEST ANSWER

See the documentation, particularly the getting started section, here:

https://github.com/ocaml-batteries-team/batteries-included/wiki/

While Batteries uses some code from Extlib, they are separate projects.