Skip to content

Conversation

skx
Copy link
Owner

@skx skx commented Oct 16, 2022

This pull-request adds (random) as a built-in primitive, and then uses that to create a pair of other functions:

  • random:char
    • Return a random letter from a-z
  • random:item
    • Return a random list-element.

This closes #43.

This pull-request adds (random) as a built-in primitive, and then
uses that to create a pair of other functions:

* random:char
  * Return a random letter from a-z
* random:item
  * Return a random list-element.

This closes #43.
@skx skx merged commit 94f9f8d into master Oct 16, 2022
@skx skx deleted the 43-random branch October 16, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement "random"
1 participant