alex icon indicating copy to clipboard operation
alex copied to clipboard

strict-bytestring wrapper is undocumented

Open thomie opened this issue 9 years ago • 0 comments

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}

thomie avatar Feb 11 '16 12:02 thomie