diff options
author | gwern0 <gwern0@gmail.com> | 2010-02-14 00:15:37 +0100 |
---|---|---|
committer | gwern0 <gwern0@gmail.com> | 2010-02-14 00:15:37 +0100 |
commit | e5240c8fc41f45b6b71252ffb6de4c3fdacf9892 (patch) | |
tree | 60c13fb15c7fabc4212a63c514f42f11c87cd6d8 /tests/loc.hs | |
parent | 744a7ec219e58f40daf5bacc088c10da91269f4e (diff) | |
download | xmonad-e5240c8fc41f45b6b71252ffb6de4c3fdacf9892.tar.gz xmonad-e5240c8fc41f45b6b71252ffb6de4c3fdacf9892.tar.xz xmonad-e5240c8fc41f45b6b71252ffb6de4c3fdacf9892.zip |
loc.hs: hlintify
Ignore-this: c447928ce68d0a968b55af3539c979fa
darcs-hash:20100213231537-f7719-a5c1073d4a25076f08de63521bc37f5833fc7a5b.gz
Diffstat (limited to 'tests/loc.hs')
-rw-r--r-- | tests/loc.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/loc.hs b/tests/loc.hs index 09399ea..238204a 100644 --- a/tests/loc.hs +++ b/tests/loc.hs @@ -5,9 +5,9 @@ main = do foo <- getContents let actual_loc = filter (not.null) $ filter isntcomment $ map (dropWhile (==' ')) $ lines foo loc = length actual_loc - putStrLn $ show loc + print loc -- uncomment the following to check for mistakes in isntcomment - -- putStr $ unlines $ actual_loc + -- print actual_loc isntcomment ('-':'-':_) = False isntcomment ('{':'-':_) = False -- pragmas |