File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,9 @@ module B = Printable.UnitConf (struct let name = "•" end)
88
99module VFB =
1010struct
11- include Printable. Either (VF ) (B )
11+ include Printable. EitherConf ( struct include Printable. DefaultConf let expand1 = false let expand2 = false end ) (VF ) (B )
1212 let name () = " region"
1313
14- let pretty () = function
15- | `Right () -> Pretty. text " •"
16- | `Left x -> VF. pretty () x
17-
18- let show = function
19- | `Right () -> " •"
20- | `Left x -> VF. show x
21-
22- let printXml f = function
23- | `Right () ->
24- BatPrintf. fprintf f " <value>\n <data>\n •\n </data>\n </value>\n "
25- | `Left x ->
26- BatPrintf. fprintf f " <value>\n <data>\n %a\n </data>\n </value>\n " VF. printXml x
27-
2814 let collapse (x :t ) (y :t ): bool =
2915 match x,y with
3016 | `Right () , `Right () -> true
You can’t perform that action at this time.
0 commit comments