You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no Pretty a => Pretty (Maybe a) instance, which old code may rely on.
We have Doc = Doc AnsiStyle, which means that any existing Pretty instances which use basic functions like text no longer compile, since prettyprinter's pretty has to be annotation-polymorphic.
These are not easily solved, so I think the README ought to just be clearer about the limitations.
This has caused issues for some ansi-wl-pprint-dependent packages, such as tmp-postgres.
The text was updated successfully, but these errors were encountered:
This was noticed in ekmett/ansi-wl-pprint#32 (comment), but I've found some other incompatibilities:
Pretty a => Pretty (Maybe a)
instance, which old code may rely on.Doc = Doc AnsiStyle
, which means that any existingPretty
instances which use basic functions liketext
no longer compile, sinceprettyprinter
'spretty
has to be annotation-polymorphic.These are not easily solved, so I think the README ought to just be clearer about the limitations.
This has caused issues for some
ansi-wl-pprint
-dependent packages, such astmp-postgres
.The text was updated successfully, but these errors were encountered: