Closed HeinrichApfelmus closed 5 months ago
I wonder if it is still in draft state ... For me it is quite complete PR as it is;-)
Thanks! 😊 I'm just trying to weed out the last compilation errors before asking for your time again — thanks for the review, it's pretty much complete, indeed.
This pull request changes the
currentNodeTip
function to use the data typeChainPoint
to theCardano.Wallet.Read
hierarchy.In order to make the types
ChainPoint
andChainTip
more convenient to use, I have also added record fields.Comments
NoFieldSelectors
,DuplicateRecordFields
, andNamedFieldPuns
enables short field names such asslotNo
. SpecificallyNoFieldSelectors
— enables the use ofslotNo
as a variable outside of a record context (very common).DuplicateRecordFields
— enables the use ofslotNo
in bothChainPoint
andChainTip
.NamedFieldPuns
— enables pattern matching of the formBlockPoint{slotNo}
.primitive
types.Issue Number
ADP-3350