Copyright | (c) 2014 by Nate Pisarski |
---|---|
License | BSD3 |
Maintainer | nathanpisarski@gmail.com |
Stability | Stable |
Portability | Portable (Cookbook) |
Safe Haskell | Safe |
Language | Haskell98 |
Library for sanitizing data, mainly strings.
- blacklist :: Eq a => [a] -> [a] -> [a]
- rmleading :: Eq a => [a] -> a -> [a]
- up :: Eq a => ([a], [a]) -> [a] -> [a]
- down :: Eq a => ([a], [a]) -> [a] -> [a]
- rmdb :: Eq a => [a] -> [a]
- rmdbAll :: Eq a => [a] -> [a]
- tolower :: String -> String
- toupper :: String -> String
- rmlws :: String -> String
- rmsymbols :: String -> String
- notNumeral :: String -> Bool
- numeral :: String -> Bool
Documentation
blacklist :: Eq a => [a] -> [a] -> [a] Source #
Restricts an entire list of information from appearing in another list bit-by-bit.
rmdb :: Eq a => [a] -> [a] Source #
Removes all doubles in the list, turning them into just one occurrence.
notNumeral :: String -> Bool Source #
Check to see if the string is a non-numeral