-
Notifications
You must be signed in to change notification settings - Fork 22
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 a readonly computeStorePathForPath #144
Conversation
It seems that it does not work correclty, for now. I do not get the right hash in the end :-/ |
Fixed in #145 🎉 |
I do not understand why I need AllowAmbiguousTypes and TypeFamilies here. Looks way overkill for that simple function. |
Just to give an idea of what I am facing now:
|
Fixed everything :-). I think it is ready |
. ( ValidAlgo hashAlgo | ||
, NamedAlgo hashAlgo | ||
) | ||
. (NamedAlgo hashAlgo) |
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.
Fixed superfluous parens here and pushed to master.
Thank you! |
I copied the style from makeStorePath above :-)
Le 24 mars 2021 09:22:12 GMT+01:00, Richard Marko ***@***.***> a écrit :
***@***.*** commented on this pull request.
…
> @@ -45,9 +47,7 @@ makeTextPath fp nm h refs = makeStorePath fp ty h nm
makeFixedOutputPath
:: forall hashAlgo
- . ( ValidAlgo hashAlgo
- , NamedAlgo hashAlgo
- )
+ . (NamedAlgo hashAlgo)
Fixed superfluous parens here and pushed to master.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#144 (review)
|
-> FilePath -- ^ Local `FilePath` to add | ||
-> Bool -- ^ Add target directory recursively | ||
-> (FilePath -> Bool) -- ^ Path filter function | ||
-> Bool -- ^ Only used by local store backend |
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 feel like we should do something about these two arguments but I'm not sure what.
Oops, I'm opening style can of worms discussion. Wanted to do that anyway, maybe we can ormolu everything and forget about such. |
Yes, I spend a lot of time indenting, formatting and similarly torturing myself to get formatting right, even though I do not have any strong opinion on the right formatting. Any automated tool would get rid of this wasted time. |
No description provided.