Closed Xetera closed 5 months ago
Could be good, but it would be a breaking change. That is rather annoying. Is it work it to avoid writing one _,
?
extract_bencode(info_field)
|> crypto.hash(crypto.Sha1, _)
I didn't even know argument holes was a thing until now. Seems like a much better compromise than breaking changes in the API. That solves my problem, thanks
Great news, thank you
The current implementation is this:
I can't imagine ever calling this function this way
it would be way more helpful if it had this signature
so it could be called like this instead
I'm a little bit skeptical about how this would be implemented though, given that it's a pretty major breaking change. But hey a major release doesn't mean nothing can ever be broken right?
I was sent here by tynan on Discord