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

Based on what criteria do some Relude functions use String over Text? #424

Open
ghost opened this issue Nov 1, 2022 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Nov 1, 2022

Hi! I've started using Relude and noticed that quite a few functions use String over Text. In my particular case I used getArgs which returns [String], die which takes a String and readEither which takes a String. The documentation says Text is preferred over String but doesn't really specify when String is considered appropriate regardless. I'm curious as to what the rationale is, and if those functions can be changed to use Text, I can try making the PR.

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

0 participants