search for: f3f9c01cb

Displaying 3 results from an estimated 3 matches for "f3f9c01cb".

2017 Oct 08
0
[PATCH v2 1/4] common/mlstdutils: Extend the List module.
...b/common/mlstdutils/std_utils.ml @@ -271,6 +271,10 @@ module String = struct loop 0 end +module List = struct + include List +end + let (//) = Filename.concat let quote = Filename.quote diff --git a/common/mlstdutils/std_utils.mli b/common/mlstdutils/std_utils.mli index 786f42591..f3f9c01cb 100644 --- a/common/mlstdutils/std_utils.mli +++ b/common/mlstdutils/std_utils.mli @@ -134,6 +134,53 @@ module String : sig end (** Override the String module from stdlib. *) +module List : sig + val length : 'a list -> int + val hd : 'a list -> 'a + val tl : 'a l...
2017 Oct 08
7
[[PATCH v2 0/4] common/mlstdutils: Add Std_utils List and Option modules.
This time including the first commit ...
2017 Oct 08
4
[PATCH 0/3] common/mlstdutils: Add Std_utils List and Option modules.
In Std_utils we already extend Char and String. These commits take it a little further by extending List and adding a new Option submodule. All basically simple refactoring. Rich.