package jasmin
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e92b42fa69da7c730b0c26dacf842a72b4febcaf4f2157a1dc18b3cce1f859fa
doc/jasmin.jasmin/Jasmin/Utils/Hash/Cap/index.html
Module Hash.Cap
Source
Capabilities for hashtables.
@documents Hashtbl.Cap
The type of a hashtable.
Constructors
Adopt a regular hashtable as a capability hashtble, allowing to decrease capabilities if necessary.
This operation involves no copying. In other words, in let cap = of_table a in ...
, any modification in a
will also have effect on cap
and reciprocally.
Return a capability hashtable as a regular hashtable.
This operation requires both read and write permissions on the capability table and involves no copying. In other words, in let a = of_table cap in ...
, any modification in a
will also have effect on cap
and reciprocally.
Drop to read-only permissions.
This operation involves no copying.
Drop to write-only permissions.
This operation involves no copying.
Base operations
Searching
Traversing
Conversions
Boilerplate code
Printing
val print :
?first:string ->
?last:string ->
?sep:string ->
?kvsep:string ->
('a BatInnerIO.output -> 'b -> unit) ->
('a BatInnerIO.output -> 'c -> unit) ->
'a BatInnerIO.output ->
('b, 'c, [> `Read ]) t ->
unit
Override modules
Operations on BatHashtbl.Cap
without exceptions.
Operations on BatHashtbl.Cap
with labels.