Skip to content

Conversation

@szg251
Copy link
Collaborator

@szg251 szg251 commented Jan 25, 2022

Solves: #39


decodeHex :: Parser Text -> Parser Text
decodeHex rawParser =
rawParser >>= \parsed -> either (const mzero) (pure . decodeUtf8) ((unhex . encodeUtf8) parsed)
Copy link
Contributor

Choose a reason for hiding this comment

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

Upsetting that theres no Hex instance for Text, or at least none that I can find

@samuelWilliams99 samuelWilliams99 merged commit 490e9b6 into master Jan 26, 2022
@szg251 szg251 deleted the gergely/update-asset-name-handling branch January 26, 2022 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants