Write doc comments for the Seq family
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user