We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to use the splitGen function from Crypto.Random, my program just hangs and it never evaluates.
splitGen
Crypto.Random
Here is how it can be done in ghci by checking if the result of splitGen is Right or Left:
Right
Left
>> import Crypto.Random >> import Data.Either >> g <- newGenIO :: IO SystemRandom >> let newGens = splitGen g >> isRight newGens
This function just hangs for me.
Edit: I've read more into the package and appears that this behavior is known. Maybe this topic can be closed but is there a way to fix this behavior?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When trying to use the
splitGen
function fromCrypto.Random
, my program just hangs and it never evaluates.Here is how it can be done in ghci by checking if the result of
splitGen
isRight
orLeft
:This function just hangs for me.
Edit: I've read more into the package and appears that this behavior is known. Maybe this topic can be closed but is there a way to fix this behavior?
The text was updated successfully, but these errors were encountered: