
31 Dec
2015
31 Dec
'15
1:33 p.m.
On Thu, Dec 31, 2015 at 12:52:44PM +0000, Olumide wrote:
I'm new to Haskell and wondering why this restriction?
For example (from LYH):
infixr 5 :-: data List a = Empty | a :-: (List a) deriving (Show, Read, Eq, Ord)
Not a committee member, but there is a similar restriction (dichotomy, rather) with 'functions' (first char lowercase) and 'constructors' (first char uppercase), so mirroring it to infix operators/constructors seems reasonable.