intro documentation updated; fixed some .mli

This commit is contained in:
Simon Cruanes 2014-12-13 03:52:32 +01:00
parent 8ddc029310
commit 8a1d0e89e8
3 changed files with 120 additions and 3 deletions

View file

@ -29,9 +29,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Simple utilities to deal with basic Input/Output tasks in a resource-safe Simple utilities to deal with basic Input/Output tasks in a resource-safe
way. For advanced IO tasks, the user is advised to use something way. For advanced IO tasks, the user is advised to use something
like Lwt or Async, that are far more comprehensive. like Lwt or Async, that are far more comprehensive.
This module depends on {!CCGen}.
@since 0.6
{b NOTE} this was formerly a monadic IO module. The old module is now {b NOTE} this was formerly a monadic IO module. The old module is now
in [containers.advanced] under the name [CCMonadIO]. in [containers.advanced] under the name [CCMonadIO].
@ -57,8 +54,12 @@ Examples:
) )
) ;; ) ;;
]} ]}
@since 0.6
*) *)
type 'a gen = unit -> 'a option (** See {!CCGen} *) type 'a gen = unit -> 'a option (** See {!CCGen} *)
(** {2 Input} *) (** {2 Input} *)

View file

@ -25,6 +25,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*) *)
(** {1 Basic String Utils} (** {1 Basic String Utils}
Consider using {!Containers_string.KMP} for pattern search, or Regex Consider using {!Containers_string.KMP} for pattern search, or Regex
libraries. *) libraries. *)

View file

@ -0,0 +1,115 @@
{1 Containers}
{2 Change Log}
See {{: https://github.com/c-cube/ocaml-containers/blob/master/CHANGELOG.md } this file}
{2 License}
This code is free, under the BSD license.
The logo (media/logo.png) is
CC-SA3 {{:http://en.wikipedia.org/wiki/File:Hypercube.svg} wikimedia}
{2 Contents}
The design is mostly centered around polymorphism rather than functors. Such
structures comprise (some modules in misc/, some other in core/):
the core library, containers, now depends on
{{:https://github.com/mjambon/cppo}cppo} and base-bytes (provided
by ocamlfind).
{4 Core Modules (extension of the standard library)}
{!modules:
CCArray
CCBool
CCError
CCFloat
CCFun
CCHash
CCHeap
CCInt
CCList
CCOpt
CCOrd
CCPair
CCPrint
CCRandom
CCString
CCVector
}
{4 Containers.data}
{!modules:
CCBV
CCCache
CCFQueue
CCFlatHashtbl
CCMultiMap
CCMultiSet
CCPersistentHashtbl
CCTrie
}
{4 Containers.io}
{!modules: CCIO}
{4 Containers.sexp}
A small S-expression library.
{!modules: CCSexp}
{4 Containers.iter}
Iterators:
{!modules: CCKList CCKTree}
{4 S-expressions}
{!modules: CCSexp}
{4 String}
{!modules: Levenshtein KMP}
{4 Advanced}
{!modules: CCLinq CCCat CCBatch}
{4 Misc}
This list is not necessarily up-to-date.
{!modules:
AbsSet
Bij
FlatHashtbl
Hashset
Heap
Heap
LazyGraph
Mixtbl
PHashtbl
PrintBox
RAL
SmallSet
SplayMap
SplayTree
UnionFind
Univ
}
{4 Others}
{!modules: Future}
{2 Index}
{!indexlist}