HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

Moduleregex-applicative-0.3.4Haskell2010

Text.Regex.Applicative.Reference

Reference implementation (using backtracking).

This is exposed for testing purposes only!

  • 1 value
valuereference :: RE s a -> [s] -> Maybe a
#

reference r s should give the same results as s =~ r.

However, this is not very efficient implementation and is supposed to be used for testing only.