<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -249,12 +249,9 @@ splitCommaList :: String -&gt; [String]
 splitCommaList l =
   let (first,rest) = break (== ',') l
       first' = lrStrip first
-{-  in  if null rest
-         then if null first' then [] else [first']
-         else first' : splitCommaList (tail rest) -}
   in case rest of
-         [] -&gt; if null first' then [] else [first']
-         (r:rs) -&gt; first' : splitCommaList rs
+         []     -&gt; if null first' then [] else [first']
+         (_:rs) -&gt; first' : splitCommaList rs
 
 lrStrip :: String -&gt; String
 lrStrip = reverse . dropWhile isWhitespace . reverse . dropWhile isWhitespace</diff>
      <filename>Network/Gitit/Config.hs</filename>
    </modified>
    <modified>
      <diff>@@ -353,8 +353,8 @@ highlightSource (Just source) = do
   file &lt;- getFileName
   -- let lang' = head $ languagesByExtension $ takeExtension file
   let lang' = case languagesByExtension $ takeExtension file of
-               [] -&gt; error &quot;highlightSource, no lang'&quot;
-               (l:ls) -&gt; l
+               []    -&gt; error &quot;highlightSource, no lang'&quot;
+               (l:_) -&gt; l
   case highlightAs lang' (filter (/='\r') source) of
        Left _       -&gt; mzero
        Right res    -&gt; return $ formatAsXHtml [OptNumberLines] lang' $! res</diff>
      <filename>Network/Gitit/ContentTransformer.hs</filename>
    </modified>
    <modified>
      <diff>@@ -237,12 +237,9 @@ startsWithUnderscore _ = False
 splitOn :: Eq a =&gt; a -&gt; [a] -&gt; [[a]]
 splitOn c cs =
   let (next, rest) = break (==c) cs
-{-  in  if null rest
-         then [next]
-         else next : splitOn c (tail rest) -}
   in case rest of
-         [] -&gt; [next]
-         (r:rs) -&gt; next : splitOn c rs 
+         []     -&gt; [next]
+         (_:rs) -&gt; next : splitOn c rs 
 
 -- | Returns path portion of URI, without initial @\/@.
 -- Consecutive spaces are collapsed.  We don't want to distinguish</diff>
      <filename>Network/Gitit/Framework.hs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>43886f50f370e89eec2e94d548aec34060f4b4eb</id>
    </parent>
  </parents>
  <author>
    <name>John MacFarlane</name>
    <email>jgm@johnsmac.gateway.2wire.net</email>
  </author>
  <url>http://github.com/jgm/gitit/commit/0732a484d47173b4cee246a13ed65ba67974d254</url>
  <id>0732a484d47173b4cee246a13ed65ba67974d254</id>
  <committed-date>2009-10-28T23:05:42-07:00</committed-date>
  <authored-date>2009-10-28T23:05:42-07:00</authored-date>
  <message>Code reformatting to avoid warnings.</message>
  <tree>a67ff9dd6336d4c90c4a7e3e5fc85083439109a9</tree>
  <committer>
    <name>John MacFarlane</name>
    <email>jgm@johnsmac.gateway.2wire.net</email>
  </committer>
</commit>
