I'm new to haskell.
If I type in GHCi (7.10.3):
:info (:)
I get result:
*** Parser:
data [] a = ... | a : [a] -- Defined in ‘GHC.Types’
infixr 5 :
data [] a = ... | a : [a] -- Defined in ‘GHC.Types’
infixr 5 :
Does it means that operator is defined twice? I didn't find any suspicious things in the source =/
[]
is full of magic; I'd take anything GHCi says about it with a grain of salt. – Odilia