[Hackage] #254: Misleading documentation on comments in .cabal

Hackage trac at galois.com
Mon Mar 3 00:04:00 EST 2008

#254: Misleading documentation on comments in .cabal
  Reporter:  guest                |        Owner:         
      Type:  defect               |       Status:  new    
  Priority:  low                  |    Milestone:         
 Component:  misc                 |      Version:
  Severity:  minor                |     Keywords:         
Difficulty:  very easy (<1 hour)  |   Ghcversion:  6.8.2  
  Platform:                       |  
 in http://www.haskell.org/cabal/release/latest/doc/users-guide/x30.html
 #pkg-descr we read, "In the package description file, lines beginning with
 "--" are treated as comments and ignored."

 This isn't right, since it's actually -- after any amount of whitespace;
 you can indent as you please, and cabal will still treat it as a comment
 and not try to interpret your crazy English stuff. It's a bit misleading.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/254>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list