Singleton list confusion
Why do Haskell newcomers frequently believe, that list variables must be enclosed in brackets?
People sometimes write argument patterns like
[x], hoping that
x will assume all values of a list successively.
Maybe they expect some kind of list comprehension.
However, if there wouldn't be a special list notation and if there wouldn't be the special syntax for the list type constructor (thus we must write
[a] instead of
then there would be certainly less confusion.