-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update PrettyCooked
#426
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, our
PrettyCooked
features suffers from small inaccuracies:Pretty.Cooked
is far too longPP.pretty
instead ofprettyCookedOpts
PrettyCooked
instances are located inPretty.Class
, some others inPretty.Cooked
and the reason for this separation is unclear.PrettyCooked
instances are actually written as instances, while others are functions namedprettyXXX
but are basically instances. This can lead to repeated code if one does not realize an instance is here but is not actually written as such.PrettyCooked
has it ownhashable
type class which could maybe be factored withtoScriptHash
to some extent (see Homogenize Hashing #424)In addition, there could be some improvements:
The text was updated successfully, but these errors were encountered: