Skip to content

Commit

Permalink
equal: use an explicit match rather than (=)
Browse files Browse the repository at this point in the history
  • Loading branch information
seliopou committed Jun 23, 2017
1 parent c6385ca commit fa4454a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/angstrom.ml
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ let at_end_of_input =
{ run = fun input pos more _ succ ->
if pos < Input.length input then
succ input pos more false
else if more = Complete then
succ input pos more true
else
else match more with
| Complete -> succ input pos more true
| Incomplete ->
let succ' input' pos' more' = succ input' pos' more' false
and fail' input' pos' more' = succ input' pos' more' true in
prompt input pos fail' succ'
Expand Down

0 comments on commit fa4454a

Please sign in to comment.