Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing decodeBase64' ? #63

Open
alexfmpe opened this issue Jun 30, 2024 · 1 comment
Open

Missing decodeBase64' ? #63

alexfmpe opened this issue Jun 30, 2024 · 1 comment

Comments

@alexfmpe
Copy link
Contributor

If we ignore the alphabet bits, then the API of https://hackage.haskell.org/package/base16-1.0/docs/Data-ByteString-Base16.html and https://hackage.haskell.org/package/base64-1.0/docs/Data-ByteString-Base64.html are pretty much the same save for there being no equivalent of decodeBase16' :: Base16 Text -> ByteString . This seems to happen for lazy/strict and for the url variant.
Is this intentionally not present?

@emilypi
Copy link
Owner

emilypi commented Jun 30, 2024

Intentionally, because I wasn't a big fan of shea's contribution in the first place and it doesn't meet my personal threshold for significance. He had a specific use case, but I'm reluctant to add it unless it's demonstrably similar for base64.

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

No branches or pull requests

2 participants