-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add Counter a => Counter (Vec n a)
instance #2787
#2788
Conversation
I think it would be good if the instance came with a comment about the endianness. clash-compiler/clash-prelude/src/Clash/Class/Counter/Internal.hs Lines 156 to 168 in 96f741d
I like examples like that, because I can never remember which way round is supposed to be big or little. |
Also this endianness you implemented now is the "right" one I think.
|
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.
Agreed with @leonschoorl on the examples / doctests. Other than that, LGTM.
4d67c5f
to
83ce499
Compare
Where are we on this? |
I'm okay with this if CI is. |
Fixes: #2787