Function documentation is messed up
Summary: Pointed out by Eric, but I'd vaguely noticed it myself recently.
There are two clear problems:
- In a multi-parameter function, each parameter is getting its own parentheses. This isn't Haskell; we don't actually have currying (yet); so that's just plain wrong.
- The "Produces" clause is getting tacked onto the end of the last parameter, instead of showing on its own.
The first one is undoubtedly the result of the recent changes to the way _if
handles Lists; don't know where the second one came from.