HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulealfred-margaret-2.1.1.1GHC2021

Data.Text.BoyerMooreCI.Replacer

Synopsis
valuereplaceSingleLimited
  1. :: Automaton

    Matches the needles

  2. -> Text

    Replacement string

  3. -> Text

    Haystack

  4. -> CodeUnitIndex

    Maximum number of code units in the returned text

  5. -> Maybe Text

Replace all occurrences matched by the Boyer-Moore automaton with the given replacement text in some haystack. Performs case-sensitive replacement.