Module Biocaml_util

module Biocaml_util: sig .. end
Miscellaneous functions that don't fit elsewhere.

val err_enum : ?source:string -> 'a Batteries.Enum.t -> 'a Batteries.Enum.t
Returned enum behaves identically to given one except that its use will raise PosError when accessing its element raises an exception e. First value carried by PosError will be source (default: ""), second will be the item number where the exception occurred, third argument will be -1, and fourth will be the exception raised.