jawk/functions/list/list_manipulations/
mod.rs1mod indexed;
2mod pop;
3mod pop_first;
4mod push;
5mod push_front;
6mod reverse;
7mod sort;
8mod sort_unique;
9
10use crate::functions_definitions::FunctionsGroup;
11use indexed::get as get_indexed;
12use pop::get as get_pop;
13use pop_first::get as get_pop_first;
14use push::get as get_push;
15use push_front::get as get_push_front;
16use reverse::get as get_reverse;
17use sort::get as get_sort;
18use sort_unique::get as get_sort_unique;
19
20pub fn group() -> FunctionsGroup {
21 FunctionsGroup::new("list_manipluations")
22 .add_function(get_sort())
23 .add_function(get_sort_unique())
24 .add_function(get_indexed())
25 .add_function(get_push())
26 .add_function(get_push_front())
27 .add_function(get_reverse())
28 .add_function(get_pop())
29 .add_function(get_pop_first())
30 .add_description_line("Function to manipulatre a list and create a new one")
31}