File tree Expand file tree Collapse file tree 8 files changed +15
-12
lines changed Expand file tree Collapse file tree 8 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
6060 ]}
6161*)
6262let bytes_to_string e =
63- E. runtime_call Js_runtime_modules. bytes " bytes_to_string" [ e ]
63+ E. runtime_call Js_runtime_modules. bytes_ " bytes_to_string" [ e ]
6464
6565let bytes_of_string s =
6666 E. runtime_call Js_runtime_modules. bytes " bytes_of_string" [ s ]
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ let format = "Caml_format"
4141let string = " Caml_string"
4242
4343let bytes = " Caml_bytes"
44+ let bytes_ = " Bytes"
4445
4546let float = " Caml_float"
4647
Original file line number Diff line number Diff line change 11'use strict' ;
22
33var Bytes = require ( "../../lib/js/bytes.js" ) ;
4- var Caml_bytes = require ( "../../lib/js/caml_bytes.js" ) ;
54
65var f = Bytes . unsafe_to_string ;
76
8- var ff = Caml_bytes . bytes_to_string ;
7+ var ff = Bytes . bytes_to_string ;
98
109exports . f = f ;
1110exports . ff = ff ;
Original file line number Diff line number Diff line change @@ -76406,6 +76406,7 @@ let format = "Caml_format"
7640676406let string = "Caml_string"
7640776407
7640876408let bytes = "Caml_bytes"
76409+ let bytes_ = "Bytes"
7640976410
7641076411let float = "Caml_float"
7641176412
@@ -94673,7 +94674,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
9467394674 ]}
9467494675*)
9467594676let bytes_to_string e =
94676- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
94677+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
9467794678
9467894679let bytes_of_string s =
9467994680 E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change @@ -76406,6 +76406,7 @@ let format = "Caml_format"
7640676406let string = "Caml_string"
7640776407
7640876408let bytes = "Caml_bytes"
76409+ let bytes_ = "Bytes"
7640976410
7641076411let float = "Caml_float"
7641176412
@@ -94673,7 +94674,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
9467394674 ]}
9467494675*)
9467594676let bytes_to_string e =
94676- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
94677+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
9467794678
9467894679let bytes_of_string s =
9467994680 E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change @@ -252272,6 +252272,7 @@ let format = "Caml_format"
252272252272let string = "Caml_string"
252273252273
252274252274let bytes = "Caml_bytes"
252275+ let bytes_ = "Bytes"
252275252276
252276252277let float = "Caml_float"
252277252278
@@ -263944,7 +263945,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
263944263945 ]}
263945263946*)
263946263947let bytes_to_string e =
263947- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
263948+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
263948263949
263949263950let bytes_of_string s =
263950263951 E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change 11
22
3- import * as Caml_bytes from "./caml_bytes .js" ;
3+ import * as Bytes from "./bytes .js" ;
44
55function chr ( n ) {
66 if ( n < 0 || n > 255 ) {
@@ -64,11 +64,11 @@ function escaped(c) {
6464 s [ 1 ] = 48 + ( c / 100 | 0 ) | 0 ;
6565 s [ 2 ] = 48 + ( c / 10 | 0 ) % 10 | 0 ;
6666 s [ 3 ] = 48 + c % 10 | 0 ;
67- return Caml_bytes . bytes_to_string ( s ) ;
67+ return Bytes . bytes_to_string ( s ) ;
6868 case 2 :
6969 var s$1 = [ 0 ] ;
7070 s$1 [ 0 ] = c ;
71- return Caml_bytes . bytes_to_string ( s$1 ) ;
71+ return Bytes . bytes_to_string ( s$1 ) ;
7272
7373 }
7474}
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var Caml_bytes = require ( "./caml_bytes .js" ) ;
3+ var Bytes = require ( "./bytes .js" ) ;
44
55function chr ( n ) {
66 if ( n < 0 || n > 255 ) {
@@ -64,11 +64,11 @@ function escaped(c) {
6464 s [ 1 ] = 48 + ( c / 100 | 0 ) | 0 ;
6565 s [ 2 ] = 48 + ( c / 10 | 0 ) % 10 | 0 ;
6666 s [ 3 ] = 48 + c % 10 | 0 ;
67- return Caml_bytes . bytes_to_string ( s ) ;
67+ return Bytes . bytes_to_string ( s ) ;
6868 case 2 :
6969 var s$1 = [ 0 ] ;
7070 s$1 [ 0 ] = c ;
71- return Caml_bytes . bytes_to_string ( s$1 ) ;
71+ return Bytes . bytes_to_string ( s$1 ) ;
7272
7373 }
7474}
You can’t perform that action at this time.
0 commit comments