Home
last modified time | relevance | path

Searched refs:replicateChar (Results 1 – 10 of 10) sorted by relevance

/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/doclayout-0.3.0.2/src/Text/
H A DDocLayout.hs104 replicateChar :: Int -> Char -> a
105 replicateChar n c = fromString (replicate n c) function
119 replicateChar n c = T.replicate n (T.singleton c) function
126 replicateChar = replicate function
133 replicateChar n c = TL.replicate (fromIntegral n) (TL.singleton c) function
349 pad n s = s <> replicateChar (n - realLength s) ' '
605 rblock w = block (\s -> replicateChar (w - realLength s) ' ' <> s) w
609 cblock w = block (\s -> replicateChar ((w - realLength s) `div` 2) ' ' <> s) w
642 cs = replicateChar 1 c
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/doclayout-0.3/src/Text/
H A DDocLayout.hs104 replicateChar :: Int -> Char -> a
105 replicateChar n c = fromString (replicate n c) function
119 replicateChar n c = T.replicate n (T.singleton c) function
126 replicateChar = replicate function
133 replicateChar n c = TL.replicate (fromIntegral n) (TL.singleton c) function
349 pad n s = s <> replicateChar (n - realLength s) ' '
604 rblock w = block (\s -> replicateChar (w - realLength s) ' ' <> s) w
608 cblock w = block (\s -> replicateChar ((w - realLength s) `div` 2) ' ' <> s) w
641 cs = replicateChar 1 c
/dports/lang/ghc/ghc-8.10.7/libraries/text/benchmarks/src/Data/
H A DText.hs893 | otherwise = t `append` replicateChar (k-len) c
918 | otherwise = replicateChar (k-len) c `append` t
933 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1117 | isSingleton t = replicateChar n (unsafeHead t)
1140 replicateChar :: Int -> Char -> Text
1141 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/ghc/ghc-8.10.7/libraries/text/src/Data/
H A DText.hs893 | otherwise = t `append` replicateChar (k-len) c
918 | otherwise = replicateChar (k-len) c `append` t
933 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1117 | isSingleton t = replicateChar n (unsafeHead t)
1140 replicateChar :: Int -> Char -> Text
1141 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/ghc/ghc-8.10.7/libraries/text/tests/src/Data/
H A DText.hs893 | otherwise = t `append` replicateChar (k-len) c
918 | otherwise = replicateChar (k-len) c `append` t
933 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1117 | isSingleton t = replicateChar n (unsafeHead t)
1140 replicateChar :: Int -> Char -> Text
1141 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/elm/compiler-0.19.1/_cabal_deps/text-1.2.3.2/Data/
H A DText.hs865 | otherwise = t `append` replicateChar (k-len) c
890 | otherwise = replicateChar (k-len) c `append` t
905 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1091 | isSingleton t = replicateChar n (unsafeHead t)
1111 replicateChar :: Int -> Char -> Text
1112 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/ghc/ghc-8.10.7/libraries/text/tests/src/Data/Text/
H A DLazy.hs702 | otherwise = t `append` replicateChar (k-len) c
724 | otherwise = replicateChar (k-len) c `append` t
738 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1029 | isSingleton t = replicateChar n (head t)
1056 replicateChar :: Int64 -> Char -> Text
1057 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/ghc/ghc-8.10.7/libraries/text/benchmarks/src/Data/Text/
H A DLazy.hs702 | otherwise = t `append` replicateChar (k-len) c
724 | otherwise = replicateChar (k-len) c `append` t
738 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1029 | isSingleton t = replicateChar n (head t)
1056 replicateChar :: Int64 -> Char -> Text
1057 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/ghc/ghc-8.10.7/libraries/text/src/Data/Text/
H A DLazy.hs702 | otherwise = t `append` replicateChar (k-len) c
724 | otherwise = replicateChar (k-len) c `append` t
738 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1029 | isSingleton t = replicateChar n (head t)
1056 replicateChar :: Int64 -> Char -> Text
1057 replicateChar n c = unstream (S.replicateCharI n (safe c)) function
/dports/lang/elm/compiler-0.19.1/_cabal_deps/text-1.2.3.2/Data/Text/
H A DLazy.hs675 | otherwise = t `append` replicateChar (k-len) c
697 | otherwise = replicateChar (k-len) c `append` t
711 | otherwise = replicateChar l c `append` t `append` replicateChar r c
1003 | isSingleton t = replicateChar n (head t)
1030 replicateChar :: Int64 -> Char -> Text
1031 replicateChar n c = unstream (S.replicateCharI n (safe c)) function