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

Moving away from String #2606

Open
JacquesCarette opened this issue Jun 16, 2021 · 2 comments
Open

Moving away from String #2606

JacquesCarette opened this issue Jun 16, 2021 · 2 comments

Comments

@JacquesCarette
Copy link
Owner

Within the Haskell community, it is well-known that String is a really awful type, and it should be avoided. Unfortunately the Drasil prototype start out with String in its foundations, and now it's going to be a lot of work to fix it all.

But there is hope. We do have some isolated interfaces between packages, and we could migrate things. One things that should help a lot is a new package TTC (Textual TypeClasses) which is now on Hackage, and also comes with lots of explanations.

It's a little premature to jump right now, as discussions about the package will probably lead to some tweaks to it, but it's definitely something worth keeping an eye on.

@balacij
Copy link
Collaborator

balacij commented Dec 24, 2022

Out of curiosity, do you know if anything has changed w.r.t. TTC? I've seen some use of Data.Text since it comes with base.

@JacquesCarette
Copy link
Owner Author

I don't know if anything has changed. It might be worth asking, somewhere Haskell-focused on social media, what are the recommended replacement(s) for String.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants