-
Notifications
You must be signed in to change notification settings - Fork 1
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
Split test and bench out to separate packages #43
Conversation
a80b198
to
f364e8b
Compare
@@ -47,26 +44,6 @@ dependencies: | |||
- vector >= 0.12.1.2 | |||
library: | |||
source-dirs: src | |||
other-modules: Bitcoin.Keys.Extended.Internal |
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.
This is maybe a questionable thing, but tbh, I really dislike other-modules
as a thing. Like, what if I want the fingerprint's Word32
or whatever. Just lemme do it.
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.
I do not like representing Fingerprint
as a Word32
. How about we just change it to SizedByteArray 4 ByteString
? Then I would be more comfortable exposing Fingerprint
internals, and maybe getting rid of Bitcoin.Keys.Extended.Internal
.
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.
IMHO, that sounds out of scope for this changeset, but certainly an interesting thought.
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 different changeset. I think exposing Internal modules is common practice in our ecosystem. People know the footguns they entail, let's just expose it.
f364e8b
to
7af814e
Compare
The packaging is not very clear from the directory structure. How about reorganizing the code so that there are three folders, each of which contains a package?:
In addition, we can keep |
I'm not opposed to that at all. @ProofOfKeags, what do you think? |
100% onboard with that folder structure. |
After reviewing as well I'm fine to merge this after exposing internal modules and reorganizing the directories to be more intuitive. |
7af814e
to
df97989
Compare
df97989
to
e43ad04
Compare
@ProofOfKeags @GambolingPangolin This is ready for review. |
#42