I learn Haskell. From Haskell 2010 documentation:
- An operator symbol starting with a colon is a constructor.
- An operator symbol starting with any other character is an ordinary identifier.
I don't understand first phrase. I know exist data constructors and class type constructors. What constructor this case? Maybe I need a code sample.
:
) symbolic operator to a symbol starting with a colon. – Process