Functions for List Manipulation
Member
- Looks for an occurrence of a specific item in a list
- Returns that item and everything after if it finds it
- Unlike Assoc, you need to know the entire item to search for it
- Returns a list, even if the item you are searching for is the last item in the list
Reverse
- Reverse the order of a list
- Only works on the first level of the list if the list is a list of lists
Last
- Grabs the last item from a list
- Just like (car), but grabs the last item instead of the first