Skip to content

Commit fcf0224

Browse files
committed
Update cppo
1 parent b3ede7a commit fcf0224

32 files changed

+78
-78
lines changed

jscomp/others/belt_HashMapInt.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "hashmap.cppo.ml"
1+
# 1 "others/hashmap.cppo.ml"
22
(***********************************************************************)
33
(* *)
44
(* OCaml *)
@@ -13,15 +13,15 @@
1313
(***********************************************************************)
1414
(** Adapted by Authors of BuckleScript 2017 *)
1515

16-
# 23 "hashmap.cppo.ml"
16+
# 23 "others/hashmap.cppo.ml"
1717
type key = int
1818
type seed = int
1919
external caml_hash_mix_int : seed -> int -> seed = "caml_hash_mix_int"
2020
external final_mix : seed -> seed = "caml_hash_final_mix"
2121
let hash (s : key) =
2222
final_mix (caml_hash_mix_int 0 s)
2323

24-
# 33 "hashmap.cppo.ml"
24+
# 33 "others/hashmap.cppo.ml"
2525
module N = Belt_internalBuckets
2626
module C = Belt_internalBucketsType
2727
module A = Belt_Array

jscomp/others/belt_HashMapInt.mli

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# 4 "hashmap.cppo.mli"
1+
# 4 "others/hashmap.cppo.mli"
22
type key = int
33

44

5-
# 10 "hashmap.cppo.mli"
5+
# 10 "others/hashmap.cppo.mli"
66
type 'b t
77

88

jscomp/others/belt_HashMapString.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "hashmap.cppo.ml"
1+
# 1 "others/hashmap.cppo.ml"
22
(***********************************************************************)
33
(* *)
44
(* OCaml *)
@@ -13,15 +13,15 @@
1313
(***********************************************************************)
1414
(** Adapted by Authors of BuckleScript 2017 *)
1515

16-
# 16 "hashmap.cppo.ml"
16+
# 16 "others/hashmap.cppo.ml"
1717
type key = string
1818
type seed = int
1919
external caml_hash_mix_string : seed -> string -> seed = "caml_hash_mix_string"
2020
external final_mix : seed -> seed = "caml_hash_final_mix"
2121
let hash (s : key) =
2222
final_mix (caml_hash_mix_string 0 s )
2323

24-
# 33 "hashmap.cppo.ml"
24+
# 33 "others/hashmap.cppo.ml"
2525
module N = Belt_internalBuckets
2626
module C = Belt_internalBucketsType
2727
module A = Belt_Array

jscomp/others/belt_HashMapString.mli

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# 2 "hashmap.cppo.mli"
1+
# 2 "others/hashmap.cppo.mli"
22
type key = string
33

44

5-
# 10 "hashmap.cppo.mli"
5+
# 10 "others/hashmap.cppo.mli"
66
type 'b t
77

88

jscomp/others/belt_HashSetInt.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# 10 "hashset.cppo.ml"
1+
# 10 "others/hashset.cppo.ml"
22
type key = int
33
type seed = int
44
external caml_hash_mix_int : seed -> int -> seed = "caml_hash_mix_int"
55
external final_mix : seed -> seed = "caml_hash_final_mix"
66
let hash (s : key) =
77
final_mix (caml_hash_mix_int 0 s)
88

9-
# 20 "hashset.cppo.ml"
9+
# 20 "others/hashset.cppo.ml"
1010
module N = Belt_internalSetBuckets
1111
module C = Belt_internalBucketsType
1212
module A = Belt_Array

jscomp/others/belt_HashSetInt.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# 2 "hashset.cppo.mli"
2+
# 2 "others/hashset.cppo.mli"
33
(* Copyright (C) 2017 Authors of BuckleScript
44
*
55
* This program is free software: you can redistribute it and/or modify
@@ -33,11 +33,11 @@
3333
*)
3434

3535

36-
# 38 "hashset.cppo.mli"
36+
# 38 "others/hashset.cppo.mli"
3737
type key = int
3838

3939

40-
# 44 "hashset.cppo.mli"
40+
# 44 "others/hashset.cppo.mli"
4141
type t
4242

4343
val make: hintSize:int -> t

jscomp/others/belt_HashSetString.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2 "hashset.cppo.ml"
1+
# 2 "others/hashset.cppo.ml"
22
type key = string
33
type seed = int
44
external caml_hash_mix_string : seed -> string -> seed = "caml_hash_mix_string"
@@ -7,7 +7,7 @@ let hash (s : key) =
77
final_mix (caml_hash_mix_string 0 s )
88

99

10-
# 20 "hashset.cppo.ml"
10+
# 20 "others/hashset.cppo.ml"
1111
module N = Belt_internalSetBuckets
1212
module C = Belt_internalBucketsType
1313
module A = Belt_Array

jscomp/others/belt_HashSetString.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# 2 "hashset.cppo.mli"
2+
# 2 "others/hashset.cppo.mli"
33
(* Copyright (C) 2017 Authors of BuckleScript
44
*
55
* This program is free software: you can redistribute it and/or modify
@@ -33,11 +33,11 @@
3333
*)
3434

3535

36-
# 36 "hashset.cppo.mli"
36+
# 36 "others/hashset.cppo.mli"
3737
type key = string
3838

3939

40-
# 44 "hashset.cppo.mli"
40+
# 44 "others/hashset.cppo.mli"
4141
type t
4242

4343
val make: hintSize:int -> t

jscomp/others/belt_MapInt.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# 5 "map.cppo.ml"
1+
# 5 "others/map.cppo.ml"
22
type key = int
33
module I = Belt_internalMapInt
44

5-
# 11 "map.cppo.ml"
5+
# 11 "others/map.cppo.ml"
66
module N = Belt_internalAVLtree
77
module A = Belt_Array
88

jscomp/others/belt_MapInt.mli

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 4 "map.cppo.mli"
1+
# 4 "others/map.cppo.mli"
22
type key = int
3-
# 8 "map.cppo.mli"
3+
# 8 "others/map.cppo.mli"
44
type 'value t
55
(** The type of maps from type [key] to type ['value]. *)
66

jscomp/others/belt_MapString.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# 2 "map.cppo.ml"
1+
# 2 "others/map.cppo.ml"
22
type key = string
33
module I = Belt_internalMapString
44

5-
# 11 "map.cppo.ml"
5+
# 11 "others/map.cppo.ml"
66
module N = Belt_internalAVLtree
77
module A = Belt_Array
88

jscomp/others/belt_MapString.mli

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 2 "map.cppo.mli"
1+
# 2 "others/map.cppo.mli"
22
type key = string
3-
# 8 "map.cppo.mli"
3+
# 8 "others/map.cppo.mli"
44
type 'value t
55
(** The type of maps from type [key] to type ['value]. *)
66

jscomp/others/belt_MutableMapInt.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# 2 "mapm.cppo.ml"
1+
# 2 "others/mapm.cppo.ml"
22
module I = Belt_internalMapInt
33
type key = int
4-
# 10 "mapm.cppo.ml"
4+
# 10 "others/mapm.cppo.ml"
55
module N = Belt_internalAVLtree
66
module A = Belt_Array
77

jscomp/others/belt_MutableMapInt.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "mapm.cppo.mli"
1+
# 1 "others/mapm.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -23,9 +23,9 @@
2323
* along with this program; if not, write to the Free Software
2424
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
2525

26-
# 28 "mapm.cppo.mli"
26+
# 28 "others/mapm.cppo.mli"
2727
type key = int
28-
# 32 "mapm.cppo.mli"
28+
# 32 "others/mapm.cppo.mli"
2929
type 'a t
3030

3131

jscomp/others/belt_MutableMapString.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# 5 "mapm.cppo.ml"
1+
# 5 "others/mapm.cppo.ml"
22
module I = Belt_internalMapString
33
type key = string
4-
# 10 "mapm.cppo.ml"
4+
# 10 "others/mapm.cppo.ml"
55
module N = Belt_internalAVLtree
66
module A = Belt_Array
77

jscomp/others/belt_MutableMapString.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "mapm.cppo.mli"
1+
# 1 "others/mapm.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -23,9 +23,9 @@
2323
* along with this program; if not, write to the Free Software
2424
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
2525

26-
# 26 "mapm.cppo.mli"
26+
# 26 "others/mapm.cppo.mli"
2727
type key = string
28-
# 32 "mapm.cppo.mli"
28+
# 32 "others/mapm.cppo.mli"
2929
type 'a t
3030

3131

jscomp/others/belt_MutableSetInt.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "setm.cppo.ml"
1+
# 1 "others/setm.cppo.ml"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -28,10 +28,10 @@
2828
and identity is not needed(using the built-in one)
2929
*)
3030

31-
# 31 "setm.cppo.ml"
31+
# 31 "others/setm.cppo.ml"
3232
module I = Belt_internalSetInt
3333
module S = Belt_SortArrayInt
34-
# 39 "setm.cppo.ml"
34+
# 39 "others/setm.cppo.ml"
3535
module N = Belt_internalAVLset
3636
module A = Belt_Array
3737

jscomp/others/belt_MutableSetInt.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "setm.cppo.mli"
1+
# 1 "others/setm.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -32,9 +32,9 @@
3232
*)
3333

3434

35-
# 37 "setm.cppo.mli"
35+
# 37 "others/setm.cppo.mli"
3636
type value = int
37-
# 41 "setm.cppo.mli"
37+
# 41 "others/setm.cppo.mli"
3838
(** The type of the set elements. *)
3939

4040

jscomp/others/belt_MutableSetString.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "setm.cppo.ml"
1+
# 1 "others/setm.cppo.ml"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -28,10 +28,10 @@
2828
and identity is not needed(using the built-in one)
2929
*)
3030

31-
# 34 "setm.cppo.ml"
31+
# 34 "others/setm.cppo.ml"
3232
module I = Belt_internalSetString
3333
module S = Belt_SortArrayString
34-
# 39 "setm.cppo.ml"
34+
# 39 "others/setm.cppo.ml"
3535
module N = Belt_internalAVLset
3636
module A = Belt_Array
3737

jscomp/others/belt_MutableSetString.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "setm.cppo.mli"
1+
# 1 "others/setm.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -32,9 +32,9 @@
3232
*)
3333

3434

35-
# 35 "setm.cppo.mli"
35+
# 35 "others/setm.cppo.mli"
3636
type value = string
37-
# 41 "setm.cppo.mli"
37+
# 41 "others/setm.cppo.mli"
3838
(** The type of the set elements. *)
3939

4040

jscomp/others/belt_SetInt.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 2 "set.cppo.ml"
1+
# 2 "others/set.cppo.ml"
22
module I = Belt_internalSetInt
3-
# 8 "set.cppo.ml"
3+
# 8 "others/set.cppo.ml"
44
module N = Belt_internalAVLset
55
module A = Belt_Array
66

jscomp/others/belt_SetInt.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "set.cppo.mli"
1+
# 1 "others/set.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -30,9 +30,9 @@
3030
{b See} {!Belt.Set}
3131
*)
3232

33-
# 35 "set.cppo.mli"
33+
# 35 "others/set.cppo.mli"
3434
type value = int
35-
# 39 "set.cppo.mli"
35+
# 39 "others/set.cppo.mli"
3636
(** The type of the set elements. *)
3737

3838

jscomp/others/belt_SetString.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 4 "set.cppo.ml"
1+
# 4 "others/set.cppo.ml"
22
module I = Belt_internalSetString
3-
# 8 "set.cppo.ml"
3+
# 8 "others/set.cppo.ml"
44
module N = Belt_internalAVLset
55
module A = Belt_Array
66

jscomp/others/belt_SetString.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1 "set.cppo.mli"
1+
# 1 "others/set.cppo.mli"
22
(* Copyright (C) 2017 Authors of BuckleScript
33
*
44
* This program is free software: you can redistribute it and/or modify
@@ -30,9 +30,9 @@
3030
{b See} {!Belt.Set}
3131
*)
3232

33-
# 33 "set.cppo.mli"
33+
# 33 "others/set.cppo.mli"
3434
type value = string
35-
# 39 "set.cppo.mli"
35+
# 39 "others/set.cppo.mli"
3636
(** The type of the set elements. *)
3737

3838

jscomp/others/belt_SortArrayInt.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# 2 "sort.cppo.ml"
1+
# 2 "others/sort.cppo.ml"
22
type element = int
33

4-
# 9 "sort.cppo.ml"
4+
# 9 "others/sort.cppo.ml"
55
module A = Belt_Array
66

77
let rec sortedLengthAuxMore (xs : element array) prec acc len =

jscomp/others/belt_SortArrayInt.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# 2 "sort.cppo.mli"
2+
# 2 "others/sort.cppo.mli"
33
(* Copyright (C) 2017 Authors of BuckleScript
44
*
55
* This program is free software: you can redistribute it and/or modify
@@ -29,10 +29,10 @@
2929
applies here, except the comparator is fixed and inlined
3030
*)
3131

32-
# 32 "sort.cppo.mli"
32+
# 32 "others/sort.cppo.mli"
3333
type element = int
3434

35-
# 39 "sort.cppo.mli"
35+
# 39 "others/sort.cppo.mli"
3636
val strictlySortedLength: element array -> int
3737
(**
3838
The same as {!Belt_SortArray.strictlySortedLength } except the comparator is fixed

0 commit comments

Comments
 (0)