haskell / haskell/attoparsec

Add startOfInput

Open
#187 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
531
Forks
98
PR merge metrics
No merged PRs in 30d

Description

```
startOfInput :: Parser t ()
startOfInput = Parser $ \t pos more lose succ ->
if pos == 0 then
succ t pos more ()
else
lose t pos more [] "startOfInput"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.