haskell / haskell/alex

strict-bytestring wrapper is undocumented

Open
#85 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
323
Forks
87
PR merge metrics
No merged PRs in 30d

Description

197317b03cf9ab82def73b1c3b1fa4925738e812 added the `strict-bytestring` wrapper, but the User Guide doesn't mention it.

In most wrappers, `AlexInput` is a tuple, whereas in `strict-bytestring` (and also in `basic-bytestring`, since #51) it is a record:

```
data AlexInput = AlexInput { alexChar :: {-# UNPACK #-} !Char,
alexStr :: !ByteString.ByteString,
alexBytePos :: {-# UNPACK #-} !Int64}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.