module Future.PathGen: Extlib.PathGen
Paths can be used with different string implementations:
Path.OfRope
to use paths built of validated UTF-8 strings (Rope.t
)Path.OfString
to use paths based on primitive string
type. Actual strings may use UTF-8 encoding.module type StringType =sig
..end
module type PathType =sig
..end
Path
functionality have this module type.
module Future.PathGen.Make:functor (
S
:
Extlib.PathGen.StringType
) ->
Extlib.PathGen.PathType
with type ustring = S.t and type uchar = S.tchar
S
.
module Future.PathGen.OfString:Extlib.PathGen.PathType
with type ustring = string and type uchar = char