Home
last modified time | relevance | path

Searched refs:splitAtOfs (Results 1 – 4 of 4) sorted by relevance

/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/text-short-0.1.3/src/Data/Text/Short/
H A DInternal.hs433 | Just ofs <- findOfs (not . p) st (B 0) = splitAtOfs ofs st
446 | Just ofs <- findOfsRev (not . p) st (toB st) = splitAtOfs ofs st
835 | otherwise = splitAtOfs ofs st
865 | otherwise = splitAtOfs ofs st
872 splitAtOfs :: B -> ShortText -> (ShortText,ShortText)
873 splitAtOfs ofs st function
970 | isPrefixOf pfx t = Just $! snd (splitAtOfs (toB pfx) t)
1011 | isSuffixOf sfx t = Just $! fst (splitAtOfs pfxLen t)
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/text-short-0.1.3/src/Data/Text/Short/
H A DInternal.hs433 | Just ofs <- findOfs (not . p) st (B 0) = splitAtOfs ofs st
446 | Just ofs <- findOfsRev (not . p) st (toB st) = splitAtOfs ofs st
835 | otherwise = splitAtOfs ofs st
865 | otherwise = splitAtOfs ofs st
872 splitAtOfs :: B -> ShortText -> (ShortText,ShortText)
873 splitAtOfs ofs st function
970 | isPrefixOf pfx t = Just $! snd (splitAtOfs (toB pfx) t)
1011 | isSuffixOf sfx t = Just $! fst (splitAtOfs pfxLen t)
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/text-short-0.1.3/src/Data/Text/Short/
H A DInternal.hs433 | Just ofs <- findOfs (not . p) st (B 0) = splitAtOfs ofs st
446 | Just ofs <- findOfsRev (not . p) st (toB st) = splitAtOfs ofs st
835 | otherwise = splitAtOfs ofs st
865 | otherwise = splitAtOfs ofs st
872 splitAtOfs :: B -> ShortText -> (ShortText,ShortText)
873 splitAtOfs ofs st function
970 | isPrefixOf pfx t = Just $! snd (splitAtOfs (toB pfx) t)
1011 | isSuffixOf sfx t = Just $! fst (splitAtOfs pfxLen t)
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/text-short-0.1.3/src/Data/Text/Short/
H A DInternal.hs433 | Just ofs <- findOfs (not . p) st (B 0) = splitAtOfs ofs st
446 | Just ofs <- findOfsRev (not . p) st (toB st) = splitAtOfs ofs st
835 | otherwise = splitAtOfs ofs st
865 | otherwise = splitAtOfs ofs st
872 splitAtOfs :: B -> ShortText -> (ShortText,ShortText)
873 splitAtOfs ofs st function
970 | isPrefixOf pfx t = Just $! snd (splitAtOfs (toB pfx) t)
1011 | isSuffixOf sfx t = Just $! fst (splitAtOfs pfxLen t)