Why is there an r
in Data.List.unfoldr
? Is it only for symmetry with foldr
, or is there some other reason this unfolds should be considered to be right associative?
This came up when I was considering adding an unfold to Data.HashMap
, where I couldn't think of a reason to include an r
in the name. HashMap
s have both right and left folds. I don't see a reason why the unfold would be more right than left.