Skip to content

Expose the I8 constructor #511

@mglch

Description

@mglch

The newtype I8 in Data.Text.Foreign does not expose its constructor. Is that intentional?

I would like to use I8 as a semantic distinction to prevent mixing up byte-offsets and character-offsets, in code that ultimately passes the values to takeWord8 and dropWord8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions