I'm new to haskell and would like some ideas on how to create a function that would take every head element of multilist's lists and add it to a new multilist, then move on to second column and etc.. So far I only know how to write a function for the first column: inverted (xss) = map head xss How to make it to go until it does it with every column of a multilist?