Deprecate stringCI
commit74416fb2bc8ec9ee7deeb798664af22ab4f7bd1d
authorSimon Hengel <sol@typeful.net>
dateSun 17 Jun 2012, 12:22 (14 years ago)
parent59dd31b
Data/Attoparsec/Text/Internal.hs+1
@@ -246,6 +246,7 @@ stringCI s = go 0
246246 else go (n+1)
247247 fs = T.toCaseFold s
248248{-# INLINE stringCI #-}
249+{-# DEPRECATED stringCI "this is very inefficient, use asciiCI instead" #-}
249250
250251-- | Satisfy a literal string, ignoring case for characters in the ASCII range.
251252asciiCI :: Text -> Parser Text