Why is the Haskell implementation so focused on linked lists?
For example, I know Data.Sequence is more efficient with most of the list operations (except for the
With version 7.8, ghc supports overloading list literals, compare the manual. For example, given appropriate IsList instances, you can write
IsList
['0' .. '9'] :: Set Char [1 .. 10] :: Vector Int [("default",0), (k1,v1)] :: Map String Int ['a' .. 'z'] :: Text
(quoted from the documentation).