fix tests
build / build (push) Successful in 1m19s

This commit is contained in:
2026-08-27 02:01:32 -06:00
parent bbb5d6e99f
commit 8048573cd8
3 changed files with 19 additions and 7 deletions
+11 -1
View File
@@ -107,7 +107,17 @@ list
list = listWithIndentation Ordinary
-- |
-- >>> decodeTest @(Int,Int) (with \g -> dottedList (el int) int >>> g) "(1 . 2)"
-- >>> let grammar = with \g -> dottedList (el int) int >>> g
-- >>> decodeTest @(Int,Int) grammar "(1 . 2)"
-- ( 1
-- , 2
-- )
-- >>> let grammar = with \g -> dottedList (el int >>> el int) int >>> g
-- >>> decodeTest @(Int,Int,Int) grammar "(1 2 . 3)"
-- ( 1
-- , 2
-- , 3
-- )
dottedList
:: forall t t' t''. G (ListContext :- t) (ListContext :- t')
-> G (Datum :- t') t''