Function group list

Function group has those functions and groups:

  • Group list_producers - Functions to create lists
    • Function range - Create a new list with items from 0 to the second argument.
    • Function zip - Zip a few list into a new list.
    • Function cross - Join a few list (i.e. Cartesian product) into a new list.
  • Group list_manipluations - Function to manipulatre a list and create a new one
    • Function sort - Sort a list.
    • Function sort_unique - Sort a list and remove duplicates.
    • Function indexed - Map a list into a new list where each element in the new list is an object with two elements:
    • Function push - Add items to a list.
    • Function push_front - Add items to the from of a list.
    • Function reverese - Reveres the order of a list.
    • Function pop - Pop the last item from a list.
    • Function pop_first - Pop the first item from a list.
  • Group list_functional - Functional function over a list of items
    • Function filter - Filter a list.
    • Function group_by - Group items by function.
    • Function sort_by - Sort a list.
    • Function fold - Fold all the items in a list into a new value.
    • Function map - Map a list into a new list using a function.
    • Function flat_map - Flat map a list into a new list using a function.
  • Group list_folding - Function top fold a list into a single item
    • Function sum - Sum all the items in the list.
    • Function any - Check if any of item in a list is ture.
    • Function all - Check if all the items in a list are true.
    • Function join - Join all the items in the list into a String.
    • Function first - The first item in a list.
    • Function last - The last item in a list.

Use additional help with a function name to see more details about the function.