scan: lexical style suggestions for source code

[ bsd3, development, program ] [ Propose Tags ]

scan checks the format of your source code. It reports (and partly repairs if given the - option): non-ascii characters, tabs or carriage returns, trailing white spaces, backslash at line end, unconventional comment delimiters, too long lines, too many consecutive blank lines, not a single blank between tokens, not a single final newline, no spaces after commas, spaces between parens and infix operators in sections, bad layout (wrt do or of). It may be useful in conjunction with http://community.haskell.org/~ndm/hlint/ to give suggestions on how to improve your source code. Repairing is not suited for slices (aka $(...)) in template haskell or if you like to align your code at = or -> in the middle of a line (thus wanting multiple blanks). Furthermore layout may be destroyed by inserting or deleting blanks, but this is an indication for improving layout anyway. Also lines may become too long after inserting blanks.

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.0.7, 0.1.0.8, 0.1.0.9
Dependencies base (<5), parsec [details]
License BSD-3-Clause
Copyright Christian Maeder 2010
Author chr.maeder@web.de
Maintainer chr.maeder@web.de
Category Development
Home page http://projects.haskell.org/style-scanner
Uploaded by ChristianMaeder at Mon Mar 15 17:22:51 UTC 2010
Distributions NixOS:0.1.0.9
Executables scan
Downloads 4241 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-30 [all 7 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees