Let's say i have the list ["foo", "bar", "othercoolword"], and i want to know the length of each element. I would do
map length ["foo", "bar", "othercoolword"]
and it then returns [3,3,13]. But what if i have a list within a list, so for example
[["f","bee","oba"],["aloo","d","e"],["xnx","y","z"]]
I want it to return [[1,3,3],[4,1,1],[3,1,1]]. And then take the maximum over each list inside this list. Which would give me [3,4,3].
Long story short: i'm confused with these lists inside lists. Is there an easy way of doing this?