Searched refs:replicateChar (Results 1 – 10 of 10) sorted by relevance
104 replicateChar :: Int -> Char -> a105 replicateChar n c = fromString (replicate n c) function119 replicateChar n c = T.replicate n (T.singleton c) function126 replicateChar = replicate function133 replicateChar n c = TL.replicate (fromIntegral n) (TL.singleton c) function349 pad n s = s <> replicateChar (n - realLength s) ' '605 rblock w = block (\s -> replicateChar (w - realLength s) ' ' <> s) w609 cblock w = block (\s -> replicateChar ((w - realLength s) `div` 2) ' ' <> s) w642 cs = replicateChar 1 c
104 replicateChar :: Int -> Char -> a105 replicateChar n c = fromString (replicate n c) function119 replicateChar n c = T.replicate n (T.singleton c) function126 replicateChar = replicate function133 replicateChar n c = TL.replicate (fromIntegral n) (TL.singleton c) function349 pad n s = s <> replicateChar (n - realLength s) ' '604 rblock w = block (\s -> replicateChar (w - realLength s) ' ' <> s) w608 cblock w = block (\s -> replicateChar ((w - realLength s) `div` 2) ' ' <> s) w641 cs = replicateChar 1 c
893 | otherwise = t `append` replicateChar (k-len) c918 | otherwise = replicateChar (k-len) c `append` t933 | otherwise = replicateChar l c `append` t `append` replicateChar r c1117 | isSingleton t = replicateChar n (unsafeHead t)1140 replicateChar :: Int -> Char -> Text1141 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
865 | otherwise = t `append` replicateChar (k-len) c890 | otherwise = replicateChar (k-len) c `append` t905 | otherwise = replicateChar l c `append` t `append` replicateChar r c1091 | isSingleton t = replicateChar n (unsafeHead t)1111 replicateChar :: Int -> Char -> Text1112 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
702 | otherwise = t `append` replicateChar (k-len) c724 | otherwise = replicateChar (k-len) c `append` t738 | otherwise = replicateChar l c `append` t `append` replicateChar r c1029 | isSingleton t = replicateChar n (head t)1056 replicateChar :: Int64 -> Char -> Text1057 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
675 | otherwise = t `append` replicateChar (k-len) c697 | otherwise = replicateChar (k-len) c `append` t711 | otherwise = replicateChar l c `append` t `append` replicateChar r c1003 | isSingleton t = replicateChar n (head t)1030 replicateChar :: Int64 -> Char -> Text1031 replicateChar n c = unstream (S.replicateCharI n (safe c)) function