traverse package:sorted-list

Traverse a sorted list with a function that returns in a monad. The same performance observations apply here as in map, as changing the values may involve reordering the list.