[GHC] #8007: Missing space in `rec` documentation

GHC ghc-devs at haskell.org
Fri Jun 21 18:08:39 CEST 2013


#8007: Missing space in `rec` documentation
------------------------------+---------------------------------------------
Reporter:  guest              |          Owner:                  
    Type:  bug                |         Status:  new             
Priority:  normal             |      Component:  Documentation   
 Version:  7.6.3              |       Keywords:                  
      Os:  Unknown/Multiple   |   Architecture:  Unknown/Multiple
 Failure:  Documentation bug  |      Blockedby:                  
Blocking:                     |        Related:                  
------------------------------+---------------------------------------------
 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 `\~`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8007>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list