mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
remove warning from file; add warning in .merlin
This commit is contained in:
parent
e30190a7d0
commit
46201b6e85
3 changed files with 5 additions and 3 deletions
2
.merlin
2
.merlin
|
|
@ -35,4 +35,4 @@ PKG bigarray
|
|||
PKG sequence
|
||||
PKG hamt
|
||||
PKG gen
|
||||
FLG -w +a -w -4 -w -44 -w -32 -w -34
|
||||
FLG -w +a -w -4 -w -44
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ module type FIXED_ARRAY = sig
|
|||
val length_log : int
|
||||
val length : int (* 2 power length_log *)
|
||||
val get : 'a t -> int -> 'a
|
||||
val set : 'a t -> int -> 'a -> 'a t
|
||||
val set : mut:bool -> 'a t -> int -> 'a -> 'a t
|
||||
val update : mut:bool -> 'a t -> int -> ('a -> 'a) -> 'a t
|
||||
val remove : empty:'a -> 'a t -> int -> 'a t (* put back [empty] there *)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,10 @@ type 'a gen = unit -> 'a option
|
|||
type 'a printer = Format.formatter -> 'a -> unit
|
||||
type 'a ktree = unit -> [`Nil | `Node of 'a * 'a ktree list]
|
||||
|
||||
(** {2 Fixed-Size Arrays} *)
|
||||
(** {2 Fixed-Size Arrays}
|
||||
|
||||
Mostly an internal implementation detail *)
|
||||
|
||||
module type FIXED_ARRAY = sig
|
||||
type 'a t
|
||||
val create : empty:'a -> 'a t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue