diff options
| author | Matthew Hall <hallmatthew314@gmail.com> | 2023-02-14 16:47:43 +1300 |
|---|---|---|
| committer | Matthew Hall <hallmatthew314@gmail.com> | 2023-02-14 16:47:43 +1300 |
| commit | 23f6ef345f5ddfb96c99f01520c9b6517f5741b9 (patch) | |
| tree | 3c2731c2e60ffe11b265e65dfe86273087a77ae2 /Parsers.hs | |
| parent | d86a26087e2d535331b567b82fb497435e7fae2f (diff) | |
Add MonadPlus instance
Diffstat (limited to 'Parsers.hs')
| -rw-r--r-- | Parsers.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ instance Alternative (Parser t) where (<|>) = alt +instance MonadPlus (Parser t) + ----------------------------------------------------------------------------- flunk :: Parser t a |
