lambdabot-misc-plugins 5.1 → 5.1.0.1
raw patch · 2 files changed
+7/−7 lines, 2 filesdep ~random-fu
Dependency ranges changed: random-fu
Files
lambdabot-misc-plugins.cabal view
@@ -1,5 +1,5 @@ name: lambdabot-misc-plugins-version: 5.1+version: 5.1.0.1 license: GPL license-file: LICENSE@@ -26,7 +26,7 @@ . [todo] A to-do list for lambdabot. -homepage: http://haskell.org/haskellwiki/Lambdabot+homepage: https://wiki.haskell.org/Lambdabot build-type: Simple cabal-version: >= 1.8@@ -67,7 +67,7 @@ parsec >= 3, process >= 1.1, random >= 1,- random-fu >= 0.2,+ random-fu >= 0.2.6.2, random-source >= 0.3, regex-tdfa >= 1.1, SafeSemaphore >= 0.9,
src/Lambdabot/Plugin/Misc/Dummy.hs view
@@ -58,7 +58,7 @@ dummylst :: [(String, String -> String)] dummylst = [("dummy" , const "dummy")- ,("bug" , const "http://hackage.haskell.org/trac/ghc/newticket?type=bug")+ ,("bug" , const "https://hackage.haskell.org/trac/ghc/newticket?type=bug") ,("id" , (' ' :) . id) ,("show" , show) ,("wiki" , lookupWiki)@@ -66,11 +66,11 @@ ,("docs" , \x -> if null x then docPrefix </> "index.html" else lookupPackage docPrefix '-' "html" x)- ,("learn" , const "http://www.haskell.org/haskellwiki/Learning_Haskell")+ ,("learn" , const "https://wiki.haskell.org/Learning_Haskell") ,("haskellers" , const "http://www.haskellers.com/") ,("botsnack" , const ":)") ,("get-shapr" , const "shapr!!")- ,("shootout" , const "http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all")+ ,("shootout" , const "http://benchmarksgame.alioth.debian.org/") ,("faq" , const "The answer is: Yes! Haskell can do that.") ,("googleit" , lookupGoogle) ,("hackage" , lookupHackage)@@ -82,7 +82,7 @@ ] lookupWiki :: String -> String-lookupWiki page = "http://www.haskell.org/haskellwiki" </> spacesToUnderscores page+lookupWiki page = "https://wiki.haskell.org" </> spacesToUnderscores page where spacesToUnderscores = map (\c -> if c == ' ' then '_' else c) lookupHackage :: String -> String