mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-13 05:48:39 +03:00
Make Text.Parser.between lazy (#385)
This commit is contained in:
parent
de00ff74d5
commit
acda3b44a9
@ -254,7 +254,7 @@ endBy1' {c} sep p = some' $ rewrite sym (orTrueTrue c) in
|
||||
export
|
||||
between : {c : _} ->
|
||||
(left : Grammar tok True l) ->
|
||||
(right : Grammar tok True r) ->
|
||||
(p : Grammar tok c a) ->
|
||||
(right : Inf (Grammar tok True r)) ->
|
||||
(p : Inf (Grammar tok c a)) ->
|
||||
Grammar tok True a
|
||||
between left right contents = left *> contents <* right
|
||||
|
Loading…
Reference in New Issue
Block a user