Why isn't 〉 allowed as an infix operator in Haskell?
GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
Prelude> :{
infixr 6 〉
(〉) :: Int -> (Int -> (Int))
a 〉 b = a + 2*b
:}
print (1 〉 2)
According to this Haskell Report any Unicode symbol or punctuation
and this question it should work.
〉
an infix myself at some point, I daresay it's just a bad idea. It would more sense to allow symbols like❨
,❬
,❴
,⟦
or“
as custom quasiquote characters. – Selena