diff --git a/src/Parser/Interface.md b/src/Parser/Interface.md index 3dc4251..2c65cfa 100644 --- a/src/Parser/Interface.md +++ b/src/Parser/Interface.md @@ -238,7 +238,6 @@ parseTheseChars cs = do Attempt to parse an exact string ```idris -export exactString : String -> Parser String exactString str with (asList str) exactString "" | [] = pure "" diff --git a/src/Parser/JSON.md b/src/Parser/JSON.md index 7e83fd7..453177a 100644 --- a/src/Parser/JSON.md +++ b/src/Parser/JSON.md @@ -209,31 +209,3 @@ string = do _ <- parseExactChar '"' pure $ VString contents ``` - -```idris -number = do - d <- double - pure $ VNumber d -``` - -```idris -bool = do - oneOfE - (throwParseError "Expected Bool") - (the (List _) [true, false]) - where - true : Parser (JSONValue TBool) - true = do - _ <- exactString "true" - pure $ VBool True - false : Parser (JSONValue TBool) - false = do - _ <- exactString "false" - pure $ VBool False -``` - -```idris -null = do - _ <- exactString "null" - pure VNull -```