Copyright | (c) Audrey Tang 2004-2011 |
---|---|
License | PublicDomain |
Maintainer | audreyt@audreyt.org |
Stability | experimental |
Portability | non-portable (GHC-only) |
Safe Haskell | None |
Language | Haskell98 |
This module provides various AFP manipulation utilities.
Documentation
hashByteString :: ByteString -> Int32 Source #
inlinePerformIO :: IO a -> a Source #
(+=) :: (Num a, MonadIO m, MonadReader t1 m) => (t1 -> IORef a) -> (t -> a) -> t -> m () infixl 5 Source #
(%=) :: (Hashable k, Eq k, MonadIO m, MonadReader t m) => (t -> HashTable RealWorld k v) -> (k, v) -> m () infixl 5 Source #
(%?) :: (Hashable k, Eq k, MonadIO m, MonadReader t m) => (t -> HashTable RealWorld k v) -> k -> m (Maybe v) infixl 5 Source #
(%:) :: (MonadReader t m, MonadIO m, Eq k, Hashable k) => (t -> HashTable RealWorld k b) -> k -> m b infixl 5 Source #
(%%=) :: (Ix i, Foldable t, MonadIO m, MonadReader t1 m) => (t1 -> IOArray i e) -> t (i, e) -> m () infixl 5 Source #
splitRecords :: (Chunk c, Typeable t) => t -> [c] -> [[c]] Source #
findRecord :: (a -> Bool) -> [Record a] -> a Source #
fromJust'' :: Maybe t -> t Source #
matchRecordMaybe :: (DataOf a ~ b, RecOf b ~ a, RecData a b, Eq c) => c -> (b -> c) -> a -> Maybe b Source #
packA8 :: A8 -> ByteString Source #