core: export exactString

This commit is contained in:
Nathan McCarty 2025-01-25 05:07:42 -05:00
parent 59f1eb31d0
commit 3029432699

View file

@ -238,6 +238,7 @@ parseTheseChars cs = do
Attempt to parse an exact string Attempt to parse an exact string
```idris ```idris
export
exactString : String -> Parser String exactString : String -> Parser String
exactString str with (asList str) exactString str with (asList str)
exactString "" | [] = pure "" exactString "" | [] = pure ""