Okay, so this is a stupid question. I defined a new # operator, and I'm trying to figure out what the hell should be a commit declaration.
I want # applied after ++ . Does this mean that priority should be higher or lower than ++ ? ( ++ has priority 5.)
Type (#) :: Foo -> Bar -> Foo . Do I need a left-associative or a right-associative? Because it seems to me that one of them will do a check like x # y # z , and the other will not.
I know this may seem trivial, but I always always make mistakes ...
haskell
MathematicalOrchid
source share