diff options
| author | Matthew Hall <hallmatthew314@gmail.com> | 2023-02-14 23:12:44 +1300 |
|---|---|---|
| committer | Matthew Hall <hallmatthew314@gmail.com> | 2023-02-14 23:12:44 +1300 |
| commit | d1603b48f375467c897ff040be6b92e242b5fb06 (patch) | |
| tree | b0a0374ca87b6208ec3aa10fad16f471c52689cc /Parsers.hs | |
| parent | 9968ce826859333db926b0350d2e590123fe8250 (diff) | |
Implemented IF statements
Diffstat (limited to 'Parsers.hs')
| -rw-r--r-- | Parsers.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,6 +39,9 @@ instance Alternative (Parser t) where instance MonadPlus (Parser t) +instance MonadFail (Parser t) where + fail _ = mzero + ----------------------------------------------------------------------------- flunk :: Parser t a |
