@@ -1065,19 +1065,23 @@ module Doc = struct
10651065 let show_ty_ast = ED.Conversion. show_ty_ast
10661066end
10671067
1068- let readback_int ~depth _ c s x = BuiltInData. int .Conversion. readback ~depth (new Conversion. ctx [] ) c s x
1069- let readback_float ~depth _ c s x = BuiltInData. float .Conversion. readback ~depth (new Conversion. ctx [] ) c s x
1070- let readback_string ~depth _ c s x = BuiltInData. string .Conversion. readback ~depth (new Conversion. ctx [] ) c s x
1068+ let readback_int ~depth h c s x = BuiltInData. int .Conversion. readback ~depth (new Conversion. ctx h#raw ) c s x
1069+ let readback_float ~depth h c s x = BuiltInData. float .Conversion. readback ~depth (new Conversion. ctx h#raw ) c s x
1070+ let readback_string ~depth h c s x = BuiltInData. string .Conversion. readback ~depth (new Conversion. ctx h#raw ) c s x
10711071 let readback_list = BuiltInData. readback_list
1072- let readback_loc ~depth _ c s x = BuiltInData. loc.Conversion. readback ~depth (new Conversion. ctx [] ) c s x
1073- let readback_nominal ~depth _ c s x = BuiltInData. nominal.Conversion. readback ~depth (new Conversion. ctx [] ) c s x
1074-
1075- let embed_int ~depth _ c s x = BuiltInData. int .Conversion. embed ~depth (new Conversion. ctx [] ) c s x
1076- let embed_float ~depth _ c s x = BuiltInData. float .Conversion. embed ~depth (new Conversion. ctx [] ) c s x
1077- let embed_string ~depth _ c s x = BuiltInData. string .Conversion. embed ~depth (new Conversion. ctx [] ) c s x
1072+ let readback_loc ~depth h c s x = BuiltInData. loc.Conversion. readback ~depth (new Conversion. ctx h#raw) c s x
1073+ let readback_nominal ~depth h c s x = BuiltInData. nominal.Conversion. readback ~depth (new Conversion. ctx h#raw) c s x
1074+ let readback_bool ~depth h c s x = BuiltInData. bool .Conversion. readback ~depth (new Conversion. ctx h#raw) c s x
1075+ let readback_char ~depth h c s x = BuiltInData. char .Conversion. readback ~depth (new Conversion. ctx h#raw) c s x
1076+
1077+ let embed_int ~depth h c s x = BuiltInData. int .Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
1078+ let embed_float ~depth h c s x = BuiltInData. float .Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
1079+ let embed_string ~depth h c s x = BuiltInData. string .Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
10781080 let embed_list = BuiltInData. embed_list
1079- let embed_loc ~depth _ c s x = BuiltInData. loc.Conversion. embed ~depth (new Conversion. ctx [] ) c s x
1080- let embed_nominal ~depth _ c s x = BuiltInData. nominal.Conversion. embed ~depth (new Conversion. ctx [] ) c s x
1081+ let embed_loc ~depth h c s x = BuiltInData. loc.Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
1082+ let embed_nominal ~depth h c s x = BuiltInData. nominal.Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
1083+ let embed_bool ~depth h c s x = BuiltInData. bool .Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
1084+ let embed_char ~depth h c s x = BuiltInData. char .Conversion. embed ~depth (new Conversion. ctx h#raw) c s x
10811085 type context_description =
10821086 | C : ('a ,'k,'c) Conversion .context -> context_description
10831087
0 commit comments