/usr/share/doc/libghc-static-hash-doc/html/static-hash.txt is in libghc-static-hash-doc 0.0.1-11build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Immutable hash
--
-- Pure immutable hash whose lookup is O(1)
@package static-hash
@version 0.0.1
-- | Pure immutable hash whose lookup is O(1) on the average, but O(N) in
-- the worst case.
module Data.StaticHash
-- | Data type for immutable hashes.
data StaticHash k v
-- | Creating <a>StaticHash</a> from a list. A prime around the length of
-- the list x 2 is chosen for the size of array. This may prevent
-- collisions.
fromList :: (Eq k, Ord k, Hashable k) => [(k, v)] -> StaticHash k v
-- | Creating <a>StaticHash</a> from a list and its size.
fromList' :: (Eq k, Ord k, Hashable k) => Int -> [(k, v)] -> StaticHash k v
-- | Looking up <a>StaticHash</a>.
lookup :: (Eq k, Ord k, Hashable k) => k -> StaticHash k v -> Maybe v
instance (GHC.Show.Show k, GHC.Show.Show v) => GHC.Show.Show (Data.StaticHash.StaticHash k v)
instance (GHC.Show.Show v, GHC.Show.Show k) => GHC.Show.Show (Data.StaticHash.Some k v)
|