haskell-git-lfs.git
source link: https://git.joeyh.name/index.cgi/haskell-git-lfs.git/commit/?id=881f6eae2dd0dbf8c505556208cc8b95c8529c55
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The core of this is that, with BinaryLiterals, (+)0b12 parses as 0b1 followed by 2, and without it as 0 b12. That was thought up by H.PWiz and improved by Ørjan Johansen. I don't think that's copyrightable, because there's really only one way to do the trick.
I've modified it to compile without warnings, including not warning that b12 is defined and not used.
Sponsored-by: Noam Kremen on Patreon
index 9d5c395..1cc9e01 100644
--- a/Network/GitLFS.hs
+++ b/Network/GitLFS.hs
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK