-
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
Missing "Show" instance for UtxoState #266
Comments
There's pretty-printing for |
So should we use the |
If that suits your needs, why not? |
This is intended. In the end the plan is to remove requirements about I think this may be related to #234 in a way. Solving #234 would probably be the occasion to introduce some wrapper function or |
This is my opinion too, using |
You can use |
How can I convince the repl to use |
By default |
I'm afraid I can't make things work out, could you tell me precisely how I should modify my snippet above to make it work? |
I see what you meant: but |
There is |
Why not, but actually I'm more interested in knowing whether you think the behaviour I described in this bugreport is the expected one, or whether you think it's a bug. |
The "bug" being
|
I think it is expected since It is now a matter of whether (and how) we want to restore an instance of Show for In my opinion we should not for the reason I talked about above:
|
As the title says. Furthermore, interaction with the repl fails because of that, see the steps to reproduce.
To Reproduce
Use
cabal repl
incooked-validators
, thenExpected behavior
There should be an instance ofShow
, shouldn't it?I would expect that function to not fail and show me a representation of
UtxoState
.Environment
cooked-validators, commit 094fdcf, using the development shell provided by the flake (on a Void Linux).
The text was updated successfully, but these errors were encountered: