Rename Seq2 to Seq
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
Think about not requiring so much Pos() when making messages
|
||||
Think about changing "consume" to "commit"
|
||||
Rename Seq2 to Seq
|
||||
Document Seq
|
||||
Should MakeState be private now that there's Run?
|
||||
What's Megaparsec got that we ain't got?
|
||||
Add and benchmark naïve Seq
|
||||
chainl
|
||||
whitespace handling
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* SPDX-License-Identifier: Unlicense */ -}}
|
||||
|
||||
{{define "func"}}{{if gt . 1 -}}
|
||||
func Seq{{.}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
|
||||
func Seq{{if gt . 2}}{{.}}{{end}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
|
||||
{{- range .Count}}
|
||||
p{{.}} Parser[In, T{{.}}],{{end}}
|
||||
f func({{range .Count}}{{if ne . 1}}, {{end}}T{{.}}{{end}}) Out,
|
||||
|
||||
Reference in New Issue
Block a user