Write doc comments for the Seq family

This commit is contained in:
b
2026-08-20 20:41:56 -06:00
parent 7560d53d62
commit 5d1f4940ce
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
{{/* SPDX-License-Identifier: Unlicense */ -}}
{{define "func"}}{{if gt . 1 -}}
// Seq{{if gt . 2}}{{.}}{{end}} runs {{.}} parsers in sequence and maps their collected results with f.
func Seq{{if gt . 2}}{{.}}{{end}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
{{- range .Count}}
p{{.}} Parser[In, T{{.}}],{{end}}