hoogle 4.2.38 → 4.2.39
raw patch · 8 files changed
+15/−12 lines, 8 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.txt +2/−0
- README.md +2/−0
- docs/LICENSE +1/−1
- hoogle.cabal +3/−3
- src/General/Base.hs +0/−2
- src/General/FMIndex.hs +1/−0
- src/Recipe/All.hs +4/−4
- src/Recipe/Command.hs +2/−2
CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for Hoogle +4.2.39+ #106, shake-0.15 compatibility 4.2.38 #96, allow certicate verification failures #95, allow a higher version of Cabal on older GHCs
README.md view
@@ -1,5 +1,7 @@ # Hoogle [](https://hackage.haskell.org/package/hoogle) [](https://travis-ci.org/ndmitchell/hoogle) +**NOTE: This code branch contains the code for the Hoogle v4 series. The `master` branch contains the code for the current Hoogle v5 series.**+ Hoogle is a Haskell API search engine, which allows you to search many standard Haskell libraries by either function name, or by approximate type signature. To experiment, visit the online version at http://haskell.org/hoogle. * **Online version:** http://haskell.org/hoogle
docs/LICENSE view
@@ -1,4 +1,4 @@-Copyright Neil Mitchell 2004-2014.+Copyright Neil Mitchell 2004-2015. All rights reserved. Redistribution and use in source and binary forms, with or without
hoogle.cabal view
@@ -1,13 +1,13 @@ cabal-version: >= 1.10 build-type: Simple name: hoogle-version: 4.2.38+version: 4.2.39 license: BSD3 license-file: docs/LICENSE category: Development author: Neil Mitchell <ndmitchell@gmail.com> maintainer: Neil Mitchell <ndmitchell@gmail.com>-copyright: Neil Mitchell 2004-2014+copyright: Neil Mitchell 2004-2015 synopsis: Haskell API Search description: Hoogle is a Haskell API search engine, which allows you to@@ -15,7 +15,7 @@ or by approximate type signature. homepage: http://www.haskell.org/hoogle/ bug-reports: https://github.com/ndmitchell/hoogle/issues-tested-with: GHC==7.10.1, GHC==7.8.3, GHC==7.6.3+tested-with: GHC==7.10.1, GHC==7.8.4, GHC==7.6.3 extra-source-files: README.md CHANGES.txt
src/General/Base.hs view
@@ -7,8 +7,6 @@ import Prelude as X #if __GLASGOW_HASKELL__ < 710 import Control.Applicative as X ((<*>),(<$>))-#else-import Control.Applicative as X ((<$>)) #endif import Control.Arrow as X import Control.DeepSeq as X
src/General/FMIndex.hs view
@@ -12,6 +12,7 @@ import Control.Applicative import Control.Arrow import System.IO+import Prelude data FMIndex a = FMIndex Char [(BS.ByteString, a)] deriving Show
src/Recipe/All.hs view
@@ -21,11 +21,11 @@ import Hoogle import qualified Paths_hoogle as V import Data.Version-import CmdLine.All+import CmdLine.All as C -- CmdLine is guaranteed to be a constructor of type Data-recipes :: CmdLine -> IO ()+recipes :: C.CmdLine -> IO () recipes opt@Data{..} = withModeGlobalRead $ do hSetBuffering stdout NoBuffering createDirectoryIfMissing True datadir@@ -45,7 +45,7 @@ newtype CabalVersion = CabalVersion String deriving (Show,Typeable,Eq,Hashable,Binary,NFData) newtype HoogleVersion = HoogleVersion String deriving (Show,Typeable,Eq,Hashable,Binary,NFData) -rules :: CmdLine -> ([String] -> IO ()) -> Rules ()+rules :: C.CmdLine -> ([String] -> IO ()) -> Rules () rules opts@Data{..} warn = do let srcCabal name ver = "downloads/cabal" </> name </> ver </> name <.> "cabal" let srcHoogle name ver = "downloads/hoogle" </> name </> ver </> "doc" </> "html" </> name <.> "txt"@@ -178,7 +178,7 @@ liftIO $ warn [takeBaseName out ++ ": " ++ show e | e <- err] -urls :: CmdLine -> [(FilePath, URL)]+urls :: C.CmdLine -> [(FilePath, URL)] urls Data{..} = let (*) = (,) in ["keyword.htm" * "http://www.haskell.org/haskellwiki/Keywords" ,"platform.cabal" * "http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal"
src/Recipe/Command.hs view
@@ -6,10 +6,10 @@ import General.System import Development.Shake import Development.Shake.FilePath-import CmdLine.All+import CmdLine.All as C -wget :: CmdLine -> URL -> FilePath -> Action ()+wget :: C.CmdLine -> URL -> FilePath -> Action () wget opt@Data{..} from to = do when nodownload $ error "Downloads are disabled."