Skip to content

Support char parser from Haskell-ADP #1

@letmaik

Description

@letmaik

I hope I didn't miss it, but I think at the moment ADPfusion doesn't have a char parser which matches a given char (or element, to be more general). What I mean is this one from Haskell-ADP:

char'           ::  Eq a => Array Int a -> a -> Parser a
char' z c (i,j) =  [c | i+1 == j, z!j == c]

Any chance of adding that?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions