diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 12:07:10 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 13:30:08 +0100 |
commit | 554aedab646075e12e53b44df04bcfbccbe03a73 (patch) | |
tree | 0832201a44fd74632bbbd88fb77cb6c11eb34cf7 /libraries/base/GHC/Fingerprint.hs | |
parent | 45a9696c550c5fe5e891b6d4710179272dc9f6db (diff) | |
download | haskell-554aedab646075e12e53b44df04bcfbccbe03a73.tar.gz |
Convert `/Since: .../` to new `@since ...` syntax
Starting with Haddock 2.16 there's a new built-in support for since-annotations
Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
Diffstat (limited to 'libraries/base/GHC/Fingerprint.hs')
-rw-r--r-- | libraries/base/GHC/Fingerprint.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Fingerprint.hs b/libraries/base/GHC/Fingerprint.hs index ba890004fa..8a92cd0595 100644 --- a/libraries/base/GHC/Fingerprint.hs +++ b/libraries/base/GHC/Fingerprint.hs @@ -72,7 +72,7 @@ fingerprintString str = unsafeDupablePerformIO $ -- | Computes the hash of a given file. -- This function loops over the handle, running in constant memory. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 getFileHash :: FilePath -> IO Fingerprint getFileHash path = withBinaryFile path ReadMode $ \h -> do allocaBytes SIZEOF_STRUCT_MD5CONTEXT $ \pctxt -> do |