Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

79 integrate consensus with trivial ledger#113

Draft
dnadales wants to merge 1 commit into
masterfrom
79-integrate-consensus-with-trivial-ledger
Draft

79 integrate consensus with trivial ledger#113
dnadales wants to merge 1 commit into
masterfrom
79-integrate-consensus-with-trivial-ledger

Conversation

@dnadales

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread oddchain/src/Oddchain.hs
Comment on lines +721 to +723
!theSignedPart <- fromCBOR
!theSignature <- fromCBOR
pure $! OddHeader

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have bangs on the field of OddHeader, do you still need the bangs here and $!? I'm assuming the result of the Decoder is evaluated to WHNF.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. It's just the habit.

@dnadales dnadales force-pushed the 79-integrate-consensus-with-trivial-ledger branch from c98022d to d134e76 Compare March 25, 2020 11:02
@dnadales dnadales force-pushed the 79-integrate-consensus-with-trivial-ledger branch from d134e76 to c7cebdb Compare March 25, 2020 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants