bio-0.3.3.2: A bioinformatics librarySource codeContentsIndex
Bio.Util
Description
Utility module, with various useful stuff.
Synopsis
splitWhen :: (ByteString -> Bool) -> [ByteString] -> [[ByteString]]
countIO :: String -> String -> Int -> [a] -> IO [a]
sequence' :: [IO a] -> IO [a]
Documentation
splitWhen :: (ByteString -> Bool) -> [ByteString] -> [[ByteString]]Source
Break a list of bytestrings on a predicate
countIO :: String -> String -> Int -> [a] -> IO [a]Source
Output (to stderr) progress while evaluating a lazy list Useful for generating output while (conceptually, at least) in pure code Strictness warning!! This doesn't *quite* work in all cases. Why?
sequence' :: [IO a] -> IO [a]Source
Produced by Haddock version 2.4.2