Skip to content

Conversation

@garyb
Copy link
Member

@garyb garyb commented Jul 4, 2018

An alternative to #43 perhaps.

/cc @justinwoo

import Data.Maybe (Maybe(..))
import Data.String (Pattern(..), drop, length, indexOf', stripPrefix)
import Data.String.CodePoints (drop, length, indexOf', stripPrefix)
import Data.String.CodeUnits (charAt, singleton)
Copy link
Collaborator

Choose a reason for hiding this comment

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

These will probably cause issues

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also any combinator with "Char" below should be removed/replaced in some way?

@justinwoo
Copy link
Collaborator

This sounds good, though I guess at some point there also needs to be a separate lib that can work with the actual CodePoints representation and return the final results as String

@justinwoo
Copy link
Collaborator

What do we want to do with this? I could at least try it sometime, and I'll merge it unless someone has issues with this.

@justinwoo justinwoo merged commit ff023be into master Jul 27, 2018
@justinwoo justinwoo deleted the both-units-and-points branch July 27, 2018 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants