Missing space in `rec` documentation
One of the code examples in http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#idp47740432 is:
vs <- mfix (\~vs -> do { ss; return vs })
This is a syntax error. There should be a space between \
and ~
because otherwise it will be parsed as a single operator \~
.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Documentation |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |