Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- numeralConversions :: Map Char [Char]
- symbolConversions :: Map Char [Char]
- update1 :: Monad m => (Char -> m Char) -> Text -> Int -> m Text
- updateR :: MonadRandom m => (Char -> m Char) -> Rational -> Text -> m Text
- findIndices :: (Char -> Bool) -> Text -> [Int]
- textTraverse :: Monad m => (Char -> m Char) -> Text -> m Text
- toQwertyKey :: Char -> Char
- qwertyKeys :: [Char]
Documentation
findIndices :: (Char -> Bool) -> Text -> [Int] Source #
O(n) The findIndices
function extends findIndex
, by returning the
indices of all elements satisfying the predicate, in ascending order.
toQwertyKey :: Char -> Char Source #
Transform a letter-type character to something that's easy to type on a QWERTY keyboard
qwertyKeys :: [Char] Source #
All the characters that are easy to type on a QWERTY keyboard