Skip to content

Commit

Permalink
Merge pull request #8 from ggarlic/ghc7.10
Browse files Browse the repository at this point in the history
migrate to ghc 7.10
  • Loading branch information
rnons committed Nov 26, 2015
2 parents 105ddb0 + 78f26e2 commit 31d6323
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Web/Radio/Cmd.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeFamilies #-}
-- | Module for interfacing <http://cmd.fm>
Expand Down
2 changes: 1 addition & 1 deletion Web/Radio/Douban.hs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pprChannels chs =
putStrLn $ " cid=" ++ show (id c)
setSGR [Reset]
let folding = foldr (\x acc ->
if x `elem` "\r\n" then ' ':acc else x:acc) []
if x `elem` ['\r', '\n'] then ' ':acc else x:acc) []
putStrLn $ " Intro: " ++ folding (intro c)
putStr " Hot songs: "
forM_ (hot_songs c) (\s -> putStr $ s ++ ", ")
Expand Down
1 change: 1 addition & 0 deletions Web/Radio/Reddit.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeFamilies #-}
-- | Module for interfacing <http://radioreddit.com>
Expand Down

0 comments on commit 31d6323

Please sign in to comment.