Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

ASCII String type #110

Merged
merged 6 commits into from
Sep 17, 2016
Merged

ASCII String type #110

merged 6 commits into from
Sep 17, 2016

Conversation

NicolasDP
Copy link
Member

This is only a simple wrapper on top of UArray Word8.

Very useful type specialisation to write parser of object that are limited to ASCII characters...

@vincenthz vincenthz added enhancement T - string Affect type Strings labels Sep 4, 2016
instance IsString AsciiString where
fromString = sFromList
instance IsList AsciiString where
type Item AsciiString = Char
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Char should be CChar

@NicolasDP NicolasDP force-pushed the nicolas/ascii-string branch 2 times, most recently from 75124b4 to e0bc70a Compare September 11, 2016 11:07
@vincenthz vincenthz merged commit f0ddc5b into master Sep 17, 2016
@vincenthz
Copy link
Member

Thanks. we'll have to see if we can make it useful (e.g. parsing ASCII like data more conveniently). I'm a bit dubious it's going to work

@vincenthz vincenthz deleted the nicolas/ascii-string branch November 14, 2016 07:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T - string Affect type Strings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants