
#313: line counting ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- It would be nice if Cabal had a way to do source line counting. Two programs I know of to do the hard work are sloccount http://www.dwheeler.com/sloccount/ and ohcount http://labs.ohloh.net/ohcount I've also attached a small perlscript from the GHC source tree, but it has some drawbacks (most notably, only supporting Haskell). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/313 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects