You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into some problems using this package, how can I get help?
By posting in the Q&A section, you can get help from the authors of the API you are trying to use, and other clients that may have run into the same problem. By asking here, you can also help other people in your situation.
I'm not sure if my issue is related to a mistake or a bug in the library, what should I do?
Try to make your description as clear as possible, and post your code! Especially during the pre-release stage, there is a good chance you may have found a bug. We can help troubleshoot and come up with the details for an issue. Even if you don't think you have the skills to help resolve it, it's still a very valuable contribution.
What should my Q&A post look like?
To make sure we understand your question, it's best to follow the guidelines below.
Title
Your title should describe the issue you need help with relatively little context. For example:
How can I XOR-fold Digest128?
Help me conform a custom type to FNVHashable
Why does FNV128 use DoubleWidth?
Tests failed on <platform>
Body
The body of your post should provide a full version of your question or issue, and provide context. For example:
Help me conform a custom type to FNVHashable`
I'm looking to conform a custom struct to FNVHashable, but I keep getting a compiler error related to UUID not conforming to the protocol.
import FowlerNollVo
import Foundation
structPost:Codable{letid:UUIDvarbody:String}extensionPost:FNVHashable{func hash<Hasher>(into hasher:inoutHasher)where Hasher :FNVHasher{
hasher.combine(id)// error: method combine(_:) requires `id` conform to `FNVHashable`
hasher.combine(body)}}
But I don't know how to conform UUID since it doesn't have any properties except uuid_t which I think is a C type. How can I make a trivial type conform if it doesn't have FNVHashable properties itself?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Welcome to the Q&A section! 🙏
I'm running into some problems using this package, how can I get help?
By posting in the Q&A section, you can get help from the authors of the API you are trying to use, and other clients that may have run into the same problem. By asking here, you can also help other people in your situation.
I'm not sure if my issue is related to a mistake or a bug in the library, what should I do?
Try to make your description as clear as possible, and post your code! Especially during the pre-release stage, there is a good chance you may have found a bug. We can help troubleshoot and come up with the details for an issue. Even if you don't think you have the skills to help resolve it, it's still a very valuable contribution.
What should my Q&A post look like?
To make sure we understand your question, it's best to follow the guidelines below.
Title
Your title should describe the issue you need help with relatively little context. For example:
Digest128
?FNVHashable
FNV128
useDoubleWidth
?<platform>
Body
The body of your post should provide a full version of your question or issue, and provide context. For example:
Beta Was this translation helpful? Give feedback.
All reactions