Portability | portable |
---|---|
Stability | experimental |
Maintainer | Timo B. Huebel (tbh@holumbus.org) |
Safe Haskell | None |
Version : 0.1
Small utility functions which are probably useful somewhere else, too.
- split :: Eq a => [a] -> [a] -> [[a]]
- join :: Eq a => [a] -> [[a]] -> [a]
- strip :: String -> String
- stripl :: String -> String
- stripr :: String -> String
- stripWith :: (a -> Bool) -> [a] -> [a]
- strictDecodeFile :: Binary a => FilePath -> IO a
- partitionListByLength :: Int -> [a] -> [[a]]
- partitionListByCount :: Int -> [a] -> [[a]]
- escape :: String -> String
- computeDocBase :: ArrowXml a => a XmlTree String
- traceOffset :: Int
- trcMsg :: String -> IO ()
- getByPath :: ArrowXml a => [String] -> a XmlTree XmlTree
- robotsNo :: String -> LA XmlTree XmlTree
- robotsNoIndex :: ArrowXml a => a XmlTree XmlTree
- robotsNoFollow :: ArrowXml a => a XmlTree XmlTree
Documentation
split :: Eq a => [a] -> [a] -> [[a]]Source
Split a string into seperate strings at a specific character sequence.
stripWith :: (a -> Bool) -> [a] -> [a]Source
Strip leading and trailing elements matching a predicate.
strictDecodeFile :: Binary a => FilePath -> IO aSource
found on the haskell cafe mailing list (http://www.haskell.org/pipermail/haskell-cafe/2008-April/041970.html). Depends on bytestring >= 0.9.0.4 (?)
partitionListByLength :: Int -> [a] -> [[a]]Source
partition the list of input data into a list of input data lists of approximately the same specified length
partitionListByCount :: Int -> [a] -> [[a]]Source
partition the list of input data into a list of a specified number of input data lists with approximately the same length
computeDocBase :: ArrowXml a => a XmlTree StringSource
Compute the base of a webpage stolen from Uwe Schmidt, http://www.haskell.org/haskellwiki/HXT
robotsNoIndex :: ArrowXml a => a XmlTree XmlTreeSource
robotsNoFollow :: ArrowXml a => a XmlTree XmlTreeSource