File tree 8 files changed +15
-12
lines changed
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
60
60
]}
61
61
*)
62
62
let 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 ]
64
64
65
65
let bytes_of_string s =
66
66
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"
41
41
let string = " Caml_string"
42
42
43
43
let bytes = " Caml_bytes"
44
+ let bytes_ = " Bytes"
44
45
45
46
let float = " Caml_float"
46
47
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
var Bytes = require ( "../../lib/js/bytes.js" ) ;
4
- var Caml_bytes = require ( "../../lib/js/caml_bytes.js" ) ;
5
4
6
5
var f = Bytes . unsafe_to_string ;
7
6
8
- var ff = Caml_bytes . bytes_to_string ;
7
+ var ff = Bytes . bytes_to_string ;
9
8
10
9
exports . f = f ;
11
10
exports . ff = ff ;
Original file line number Diff line number Diff line change @@ -76548,6 +76548,7 @@ let format = "Caml_format"
76548
76548
let string = "Caml_string"
76549
76549
76550
76550
let bytes = "Caml_bytes"
76551
+ let bytes_ = "Bytes"
76551
76552
76552
76553
let float = "Caml_float"
76553
76554
@@ -94858,7 +94859,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
94858
94859
]}
94859
94860
*)
94860
94861
let bytes_to_string e =
94861
- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
94862
+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
94862
94863
94863
94864
let bytes_of_string s =
94864
94865
E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change @@ -76548,6 +76548,7 @@ let format = "Caml_format"
76548
76548
let string = "Caml_string"
76549
76549
76550
76550
let bytes = "Caml_bytes"
76551
+ let bytes_ = "Bytes"
76551
76552
76552
76553
let float = "Caml_float"
76553
76554
@@ -94858,7 +94859,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
94858
94859
]}
94859
94860
*)
94860
94861
let bytes_to_string e =
94861
- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
94862
+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
94862
94863
94863
94864
let bytes_of_string s =
94864
94865
E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change @@ -252422,6 +252422,7 @@ let format = "Caml_format"
252422
252422
let string = "Caml_string"
252423
252423
252424
252424
let bytes = "Caml_bytes"
252425
+ let bytes_ = "Bytes"
252425
252426
252426
252427
let float = "Caml_float"
252427
252428
@@ -264129,7 +264130,7 @@ let set_byte e e0 e1 = E.assign (E.array_index e e0) e1
264129
264130
]}
264130
264131
*)
264131
264132
let bytes_to_string e =
264132
- E.runtime_call Js_runtime_modules.bytes "bytes_to_string" [ e ]
264133
+ E.runtime_call Js_runtime_modules.bytes_ "bytes_to_string" [ e ]
264133
264134
264134
264135
let bytes_of_string s =
264135
264136
E.runtime_call Js_runtime_modules.bytes "bytes_of_string" [ s ]
Original file line number Diff line number Diff line change 1
1
2
2
3
- import * as Caml_bytes from "./caml_bytes .js" ;
3
+ import * as Bytes from "./bytes .js" ;
4
4
5
5
function chr ( n ) {
6
6
if ( n < 0 || n > 255 ) {
@@ -64,11 +64,11 @@ function escaped(c) {
64
64
s [ 1 ] = 48 + ( c / 100 | 0 ) | 0 ;
65
65
s [ 2 ] = 48 + ( c / 10 | 0 ) % 10 | 0 ;
66
66
s [ 3 ] = 48 + c % 10 | 0 ;
67
- return Caml_bytes . bytes_to_string ( s ) ;
67
+ return Bytes . bytes_to_string ( s ) ;
68
68
case 2 :
69
69
var s$1 = [ 0 ] ;
70
70
s$1 [ 0 ] = c ;
71
- return Caml_bytes . bytes_to_string ( s$1 ) ;
71
+ return Bytes . bytes_to_string ( s$1 ) ;
72
72
73
73
}
74
74
}
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var Caml_bytes = require ( "./caml_bytes .js" ) ;
3
+ var Bytes = require ( "./bytes .js" ) ;
4
4
5
5
function chr ( n ) {
6
6
if ( n < 0 || n > 255 ) {
@@ -64,11 +64,11 @@ function escaped(c) {
64
64
s [ 1 ] = 48 + ( c / 100 | 0 ) | 0 ;
65
65
s [ 2 ] = 48 + ( c / 10 | 0 ) % 10 | 0 ;
66
66
s [ 3 ] = 48 + c % 10 | 0 ;
67
- return Caml_bytes . bytes_to_string ( s ) ;
67
+ return Bytes . bytes_to_string ( s ) ;
68
68
case 2 :
69
69
var s$1 = [ 0 ] ;
70
70
s$1 [ 0 ] = c ;
71
- return Caml_bytes . bytes_to_string ( s$1 ) ;
71
+ return Bytes . bytes_to_string ( s$1 ) ;
72
72
73
73
}
74
74
}
You can’t perform that action at this time.
0 commit comments