[Feature] Implement random.int function #759
Labels
eldritch
Related to the Eldritch language
feature
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
Eldritch currently can't create a random integer.
Describe the solution you'd like
Implement the
random.int
function that will return a random (i32
) integer. This will theoretically be very similar to therandom.bool
function.To see an example of what a PR that implements an eldritch function looks like, check out the PR for
sys.get_user()
here.The text was updated successfully, but these errors were encountered: