elm-multiway-tree-zipper
elm-multiway-tree-zipper copied to clipboard
indexedMap doesn't need to return a Maybe
Since mapListOverTree only returns Nothing if its list is empty, indexedMap builds a list based on the length of the tree, and a multiway tree always has at least one node I don't think there is any way for indexedMap to actually return Nothing.
Yeah, your analysis seems correct. I'll look into cleaning it up. Thanks.