-
Notifications
You must be signed in to change notification settings - Fork 36
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
Need prettyprinter exports to convert between String
and Text
#207
Comments
This is what I had in mind: #208 |
I wonder whether adding these functions to, say, |
Let it be clear that while I indeed wish for FWIW |
@Bodigrim |
@sjakobi I'd be happy to export the minimum types and functions on an as need basis in |
I'm not quite convinced that this is a blocker for |
Turns out the situation is better than I feared in that I don't need My motivation for this is much weaker now. Thanks to @Bodigrim for leading me the right way in this. As for the PR exporting I'll leave it to the maintainers to decide its fate. If it is merged I will convert |
I'm trying to write a patch to
optparse-applicative
to useprettyprinter
instead.One of the requirements is to not create a dependency on the
text
package.The
SText
constructor usesText
which forces me to useData.Text.pack
andData.Text.unpack
which forces me to add a dependency ontext
.If
prettyprinter
exportspack
,unpack
andText
, I believe it would solve my problem because I will be able to use it to convert toString
do my work there and convert back.The text was updated successfully, but these errors were encountered: