-
Notifications
You must be signed in to change notification settings - Fork 217
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
Improve RecentEra
docs
#4296
base: master
Are you sure you want to change the base?
Improve RecentEra
docs
#4296
Conversation
e936093
to
54a5602
Compare
Is this still relevant? |
54a5602
to
1a0fa53
Compare
IMO @HeinrichApfelmus do you think we could agree on some variation of this without too much difficulty? This example in particular is currently in conflict with the decision
had concerns about it, don't remember if resolved, but can ignore for now, could copy the examples from the decision doc exactly as a first step. |
-- renderCliTx :: IsRecentEra era -> Tx era -> Text | ||
-- myCardanoApiTx :: IsRecentEra era -> RecentEra -> CardanoApi.Tx (CardanoApiEra era) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-- renderCliTx :: IsRecentEra era -> Tx era -> Text | |
-- myCardanoApiTx :: IsRecentEra era -> RecentEra -> CardanoApi.Tx (CardanoApiEra era) | |
-- renderCliTx :: IsRecentEra era => Tx era -> Text | |
-- myCardanoApiTx :: IsRecentEra era => RecentEra era → CardanoApi.Tx (CardanoApiEra era) |
The other variants do not type check, I believe.
I think the specific trouble with In general, however, the decision document does imply that parseThisRecentEra :: IsRecent era => ByteString → Maybe (RecentEra era) is preferred over parseThisRecentEra' :: IsRecent era => RecentEra era → ByteString → Maybe (RecentEra era)
Yes, please. Copying the examples from the decision document exactly is a good idea. |
Related Advice Process Decision: https://docs.google.com/document/d/1xazQNECWex3GWp2-yzAeJGnYvAHchamgNVvFDs3ydcg/edit?tab=t.0#heading=h.gjdgxs