haskell - Symbolic name as type constructor -
sorry, newbie's question haskell...
what have utilize infix-symbol type constructor? i've found next piece of code, ghc , ghci complain "unexpected type `~>' type variable expected"...
class category (~>) (.) :: (a ~> b) -> (b ~> c) -> (a ~> c) id :: ~>
how can done? lot in advance!
as of ghc 7.6, all typeoperators
constructors. i'm not sure why is, guess breaking alter avoid breaking older code. more info in mailing list.
haskell
No comments:
Post a Comment