on master help sign in
Text.Lexer: deprecate `manyTill`
828de62Michael Morgan
libs/contrib/Text/Lexer.idr+2
@@ -140,6 +140,8 @@ manyThen stopAfter l = manyUntil stopAfter l <+> stopAfter
140export
140export
141manyTill : (l : Lexer) -> (end : Lexer) -> Recognise False
141manyTill : (l : Lexer) -> (end : Lexer) -> Recognise False
142manyTill l end = end <|> opt (l <+> manyTill l end)
142manyTill l end = end <|> opt (l <+> manyTill l end)
143+%deprecate manyTill
144+ "Prefer `lineComment`, or `manyUntil`/`manyThen` (argument order is flipped)."
143
145
144||| Recognise any character
146||| Recognise any character
145export
147export