package patdiff
File Diff using the Patience Diff algorithm
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=f4f2b060ea39870e238f5be744e84d1d8030864a02f8fc2368866e4d3d7e1b72
doc/patdiff.kernel/Patdiff_kernel/Format/Style/Map/index.html
Module Style.Map
Source
include Core.Map_intf.S_plain with module Key := Key and module Diff := Diff
include Core.Map_intf.Creators_generic
with type ('a, 'b, 'c) t := 'b t
with type ('a, 'b, 'c) tree :=
(Key.t, 'b, Key.comparator_witness) Base.Map.Using_comparator.Tree.t
with type 'k key := Key.t
with type 'c cmp := Key.comparator_witness
with type ('a, 'b, 'c) create_options :=
('a, 'b, 'c) Base.Map.Without_comparator.t
with type ('a, 'b, 'c) access_options :=
('a, 'b, 'c) Base.Map.Without_comparator.t
include Base.Map.Creators_generic
with type ('a, 'b, 'c) t := 'b t
with type ('a, 'b, 'c) tree :=
(Key.t, 'b, Key.comparator_witness) Base.Map.Using_comparator.Tree.t
with type 'k key := Key.t
with type 'c cmp := Key.comparator_witness
with type ('a, 'b, 'c) create_options :=
('a, 'b, 'c) Base.Map.Without_comparator.t
with type ('a, 'b, 'c) access_options :=
('a, 'b, 'c) Base.Map.Without_comparator.t
Source
val transpose_keys :
('k1, 'cmp1, ('k2, 'cmp2, 'a t t -> 'a t t) Base.Map.Without_comparator.t)
Base.Map.Without_comparator.t
Source
val of_sorted_array :
('k, 'cmp, (Key.t * 'v) array -> 'v t Base.Or_error.t)
Base.Map.Without_comparator.t
Source
val of_sorted_array_unchecked :
('k, 'cmp, (Key.t * 'v) array -> 'v t) Base.Map.Without_comparator.t
Source
val of_increasing_iterator_unchecked :
('k, 'cmp, len:int -> f:(int -> Key.t * 'v) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_alist :
('k, 'cmp, (Key.t * 'v) list -> [ `Ok of 'v t | `Duplicate_key of Key.t ])
Base.Map.Without_comparator.t
Source
val of_alist_or_error :
('k, 'cmp, (Key.t * 'v) list -> 'v t Base.Or_error.t)
Base.Map.Without_comparator.t
Source
val of_alist_fold :
('k, 'cmp, (Key.t * 'v1) list -> init:'v2 -> f:('v2 -> 'v1 -> 'v2) -> 'v2 t)
Base.Map.Without_comparator.t
Source
val of_alist_reduce :
('k, 'cmp, (Key.t * 'v) list -> f:('v -> 'v -> 'v) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_increasing_sequence :
('k, 'cmp, (Key.t * 'v) Base.Sequence.t -> 'v t Base.Or_error.t)
Base.Map.Without_comparator.t
Source
val of_sequence :
('k,
'cmp,
(Key.t * 'v) Base.Sequence.t ->
[ `Ok of 'v t | `Duplicate_key of Key.t ])
Base.Map.Without_comparator.t
Source
val of_sequence_or_error :
('k, 'cmp, (Key.t * 'v) Base.Sequence.t -> 'v t Base.Or_error.t)
Base.Map.Without_comparator.t
Source
val of_sequence_exn :
('k, 'cmp, (Key.t * 'v) Base.Sequence.t -> 'v t)
Base.Map.Without_comparator.t
Source
val of_sequence_multi :
('k, 'cmp, (Key.t * 'v) Base.Sequence.t -> 'v list t)
Base.Map.Without_comparator.t
Source
val of_sequence_fold :
('k,
'cmp,
(Key.t * 'v1) Base.Sequence.t ->
init:'v2 ->
f:('v2 -> 'v1 -> 'v2) ->
'v2 t)
Base.Map.Without_comparator.t
Source
val of_sequence_reduce :
('k, 'cmp, (Key.t * 'v) Base.Sequence.t -> f:('v -> 'v -> 'v) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_list_with_key :
('k,
'cmp,
'v list ->
get_key:('v -> Key.t) ->
[ `Ok of 'v t | `Duplicate_key of Key.t ])
Base.Map.Without_comparator.t
Source
val of_list_with_key_or_error :
('k, 'cmp, 'v list -> get_key:('v -> Key.t) -> 'v t Base.Or_error.t)
Base.Map.Without_comparator.t
Source
val of_list_with_key_exn :
('k, 'cmp, 'v list -> get_key:('v -> Key.t) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_list_with_key_multi :
('k, 'cmp, 'v list -> get_key:('v -> Key.t) -> 'v list t)
Base.Map.Without_comparator.t
Source
val of_list_with_key_fold :
('k,
'cmp,
'v list ->
get_key:('v -> Key.t) ->
init:'acc ->
f:('acc -> 'v -> 'acc) ->
'acc t)
Base.Map.Without_comparator.t
Source
val of_list_with_key_reduce :
('k, 'cmp, 'v list -> get_key:('v -> Key.t) -> f:('v -> 'v -> 'v) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_iteri :
('k,
'cmp,
iteri:(f:(key:Key.t -> data:'v -> unit) -> unit) ->
[ `Ok of 'v t | `Duplicate_key of Key.t ])
Base.Map.Without_comparator.t
Source
val of_iteri_exn :
('k, 'cmp, iteri:(f:(key:Key.t -> data:'v -> unit) -> unit) -> 'v t)
Base.Map.Without_comparator.t
Source
val of_tree :
('k,
'cmp,
(Key.t, 'v, Key.comparator_witness) Base.Map.Using_comparator.Tree.t ->
'v t)
Base.Map.Without_comparator.t
Source
val of_hashtbl_exn :
('k, 'cmp, (Key.t, 'v) Core.Hashtbl.t -> 'v t) Base.Map.Without_comparator.t
Never requires a comparator because it can get one from the input Set.t
.
Source
val quickcheck_generator :
('k,
'cmp,
Key.t Core.Quickcheck.Generator.t ->
'v Core.Quickcheck.Generator.t ->
'v t Core.Quickcheck.Generator.t)
Base.Map.Without_comparator.t
include Diffable.S1_plain with type 'a t := 'a t and module Diff := Diff
Source
val quickcheck_observer :
Key.t Core.Quickcheck.Observer.t ->
'v Core.Quickcheck.Observer.t ->
'v t Core.Quickcheck.Observer.t
Source
val quickcheck_shrinker :
('k,
'cmp,
Key.t Core.Quickcheck.Shrinker.t ->
'v Core.Quickcheck.Shrinker.t ->
'v t Core.Quickcheck.Shrinker.t)
Base.Map.Without_comparator.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>