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 | 96ea8f3cdae6212010f845308b1aae533a5afa8a (patch) | |
tree | 60c13fb15c7fabc4212a63c514f42f11c87cd6d8 /tests | |
parent | e68fe01a84582d5e5a94d2eab8c914484ae81dd7 (diff) | |
download | metatile-96ea8f3cdae6212010f845308b1aae533a5afa8a.tar metatile-96ea8f3cdae6212010f845308b1aae533a5afa8a.zip |
loc.hs: hlintify
Ignore-this: c447928ce68d0a968b55af3539c979fa
darcs-hash:20100213231537-f7719-a5c1073d4a25076f08de63521bc37f5833fc7a5b
Diffstat (limited to 'tests')
-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 |