We're a place where coders share, stay up-to-date and grow their careers.
You’re right, (++) is not an efficient operation for a single-linked-list, and so one could make a (good, in my oppinion) argument for it’s removal.
Thing is, Haskell’s List also has (++), and Elm hasn’t had a stable Array implementation (it gets one in 0.19).
List
Array
If my proposal is accepted, it would make sense to remove bad operations from List.
You’re right, (++) is not an efficient operation for a single-linked-list, and so one could make a (good, in my oppinion) argument for it’s removal.
Thing is, Haskell’s
List
also has (++), and Elm hasn’t had a stableArray
implementation (it gets one in 0.19).If my proposal is accepted, it would make sense to remove bad operations from
List
.