disco-lang / disco

Functional teaching language for use in a discrete mathematics course
Other
164 stars 23 forks source link

Implements barebones randomness #390

Closed justingrubbs closed 5 months ago

justingrubbs commented 5 months ago

Begins to address #55.

Disco> random((1,10000),seed 10000)
(3200, <Gen>)
Disco> random((1,10000),seed 12)
(7611, <Gen>)

In this PR, we:

byorgey commented 5 months ago

@justingrubbs You can update the comment in rsa.disco and then once you're happy with it, go ahead and click the "Squash and merge" button (you might have to select it from the dropdown if the button doesn't already say "Squash and merge").