View Source zipper_default (zipper v1.1.0)
Summary
Functions
Generates a zipper for binary trees.
Generates a zipper for lists.
Generates a zipper for maps.
Types
-type bin_tree_node(T) :: nil | {T, bin_tree_node(T), bin_tree_node(T)}.
Functions
-spec bin_tree(bin_tree_node(T)) -> zipper:zipper(bin_tree_node(T)).
-spec list(list()) -> zipper:zipper(list()).
-spec map_tree(M, CK) -> zipper:zipper(M) when M :: #{K => _}, CK :: K.