Algo.Alt (Algo v0.1.0)

Copy Markdown View Source

Provides alternative non-verb names for functions in Algo. These better reflect the purity of functions and immutability of data structures.

Summary

Functions

Alias for Algo.prop/1.

Functions

accumulated_map(list, acc, fun)

Alias for Algo.map_accum/3.

adjacent_chunks(list, fun)

Alias for Algo.chunk_while_adjacent/2.

all_different?(enumerable)

Alias for Algo.all_different?/1.

all_different_by?(enumerable, fun)

Alias for Algo.all_different_by?/2.

as_keyword_list(map)

Alias for Algo.as_keyword_list/1.

as_map(kw_list)

Alias for Algo.as_map/1.

cartesian_product(list1, list2, output_as)

Alias for Algo.get_cartesian_product/3.

deep_left_merged(left_map, right_map)

Alias for Algo.deep_merge_left/2.

deep_merged_with(left_map, right_map, fun)

Alias for Algo.deep_merge_with/3.

deep_right_merged(left_map, right_map)

Alias for Algo.deep_merge_right/2.

depth(map)

Alias for Algo.get_depth/1.

difference_by(left, right, key_fun)

Alias for Algo.difference_by/3.

difference_with(left, right, fun)

Alias for Algo.difference_with/3.

each_breadth_first(map, fun)

Alias for Algo.each_breadth_first/2.

each_depth_first(map, fun)

Alias for Algo.each_depth_first/2.

eq_by?(fun)

Alias for Algo.eq_by?/1.

equivalent?(map, kw_list)

Alias for Algo.equivalent?/2.

evolved(map, evolution_map)

Alias for Algo.evolve/2.

has_path?(map, path)

Alias for Algo.has_path?/2.

humanised(str)

Alias for Algo.humanise/1.

humanized(str)

Alias for Algo.humanize/1.

indexed_by(enumerable, fun)

Alias for Algo.index_by/2.

inner_join(left, right, fun)

Alias for Algo.inner_join/3.

intersection_by(left, right, key_fun)

Alias for Algo.intersect_by/3.

intersection_with(left, right, fun)

Alias for Algo.intersect_with/3.

interwoven(list1, list2)

Alias for Algo.interweave/2.

inverted(map)

Alias for Algo.invert/1.

left_merged(left_map, right_map)

Alias for Algo.merge_left/2.

maybe_value_at_path(map, path, default \\ nil)

Alias for Algo.get_path/3.

partitioned_map(enumerable, fun)

Alias for Algo.partition_map/2.

path_satisfies?(map, path, fun)

Alias for Algo.path_satisfies?/3.

paths(map)

Alias for Algo.get_paths/1.

permutations(list)

Alias for Algo.get_permutations/1.

projection(list_of_maps, keys)

Alias for Algo.project/2.

prop(name)

Alias for Algo.prop/1.

props(names)

Alias for Algo.props/1.

reduced_by(enumerable, key_fun, initial_acc, reduce_fun)

Alias for Algo.reduce_by/4.

right_accumulated_map(list, acc, fun)

Alias for Algo.map_accum_right/3.

right_merged(left_map, right_map)

Alias for Algo.merge_right/2.

split_whenever(list, fun)

Alias for Algo.split_whenever/2.

subsequences(list)

Alias for Algo.get_subsequences/1.

symmetric_difference_by(left, right, key_fun)

Alias for Algo.get_symmetric_difference_by/3.

symmetric_difference_with(left, right, fun)

Alias for Algo.get_symmetric_difference_with/3.

transposed(rows)

Alias for Algo.transpose/1.

unique_pairs(list, output_as)

Alias for Algo.get_unique_pairs/2.

unique_with(enumerable, fun)

Alias for Algo.unique_with/2.

unwound(enumerable, field)

Alias for Algo.unwind/2.

value_at_path(map, path)

Alias for Algo.fetch_path/2.

value_at_path!(map, path)

Alias for Algo.fetch_path!/2.

values_at_paths(map, paths)

Alias for Algo.get_values_at_paths/2.

where_all?(map, condition_map)

Alias for Algo.where_all?/2.

where_any?(map, condition_map)

Alias for Algo.where_any?/2.

where_eq?(map, condition_map)

Alias for Algo.where_eq?/2.

with_atomised_keys(map, key_fun)

Alias for Algo.atomise_keys_with/2.

with_atomized_keys(map, key_fun)

Alias for Algo.atomize_keys_with/2.

with_moved_elem(list, from_index, to_index)

Alias for Algo.move_at/3.

with_new_path(map, path, value)

Alias for Algo.put_new_path/3.

with_path(map, path, value)

Alias for Algo.put_path/3.

with_renamed_keys(map, renames)

Alias for Algo.rename_keys/2.

with_replaced_path(map, path, value)

Alias for Algo.replace_path/3.

with_replaced_path!(map, path, value)

Alias for Algo.replace_path!/3.

with_stringified_keys(map)

Alias for Algo.stringify_keys/1.

with_unnested_keys(map)

Alias for Algo.unnest_keys/1.

with_updated_path(map, path, initial, fun)

Alias for Algo.update_path/4.

with_updated_path!(map, path, fun)

Alias for Algo.update_path!/3.

without_path(map, path)

Alias for Algo.delete_path/2.