Sorry, newbie question about Haskell ...
What do I need to do to use the infix character as a type constructor? I found the following piece of code, but GHC and GH complain of "Unexpected type` ~>" where a type variable is expected "...
class Category (~>) where
(.) :: (a ~> b) -> (b ~> c) -> (a ~> c)
id :: a ~> a
How can I do that? Thank you very much in advance!
dmw64 source
share