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
As a Nim newbie, I'm not sure why we need the packages future, random/urandom, and random/mersenne. And particularly, why these aren't "baked into" import alea?
The text was updated successfully, but these errors were encountered:
Because Alea does not contain any Random Number Generator, and it is designed to interoperate with any RNG that you might want to provide.
Import future should now be import sugar: it is just the syntactic sugar for the short form of lambda functions
I am confused about the package imports.
Coming from Python, I am finding it a bit messy to have to do a plethora of imports, whose purposes are not clear to me.
Like in the complete example:
https://github.com/andreaferretti/alea#a-complete-example
As a Nim newbie, I'm not sure why we need the packages future, random/urandom, and random/mersenne. And particularly, why these aren't "baked into"
import alea
?The text was updated successfully, but these errors were encountered: