File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ (* * Re-export for compatibility with 4.02. *)
2
+ type ('a, 'b) result = ('a , 'b ) Result .result = Ok of 'a | Error of 'b
3
+
1
4
(* * The [result] type and a bind operator. This module is meant to be opened. *)
2
5
module ResultMonad = struct
3
6
(* * Re-export for compat *)
@@ -43,6 +46,8 @@ module EitherMonad = struct
43
46
end
44
47
45
48
module List = struct
49
+ include List
50
+
46
51
let rec concat_map ?sep ~f = function
47
52
| [] -> []
48
53
| [ x ] -> f x
Original file line number Diff line number Diff line change 2
2
open Odoc_model
3
3
open Odoc_model.Names
4
4
open Odoc_model.Paths
5
+ open Odoc_utils
5
6
6
7
type lookup_unit_result = Forward_reference | Found of Lang.Compilation_unit .t
7
8
Original file line number Diff line number Diff line change 2
2
3
3
open Odoc_model
4
4
open Odoc_model.Paths
5
+ open Odoc_utils
5
6
6
7
type lookup_unit_result = Forward_reference | Found of Lang.Compilation_unit .t
7
8
Original file line number Diff line number Diff line change 6
6
(applies_to json_expansion_with_sources)
7
7
(enabled_if
8
8
(> %{ocaml_version} 4.14.0)))
9
+
10
+ (cram
11
+ (applies_to html_support_files)
12
+ (enabled_if
13
+ (> %{ocaml_version} 4.14.0)))
You can’t perform that action at this time.
0 commit comments