fromList/toList confusingly named
Closed this issue · 3 comments
natefaubion commented
These functions take and return arrays respectively. Shouldn't they be called fromArray and toArray?
garyb commented
Good point, as we call it Data.Array not Data.List too.
sharkdp commented
I think this can be closed, since the types have changed in the newest version:
toList :: forall k v. Map k v -> List (Tuple k v)
fromList :: forall k v. (Ord k) => List (Tuple k v) -> Map k vgaryb commented
👍