Skip to content
New issue

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

Adding basic support for rands and lookup #433

Merged
merged 6 commits into from
Oct 8, 2022

Conversation

lepsa
Copy link
Contributor

@lepsa lepsa commented Oct 8, 2022

This is addressing #213

Adding basic support for the rands function, without support for seeding the rng explicitly. It is using the global prng.

This also adds the OIO OVal type, supporting IO actions. This is necessary for using the global rng.

Adding support for indexing into OIO values.

Adding some expression tests for rands, checking that values are in the desired range and count.

Adding basic support for the rands function, without support for
seeding the rang explicitly. It is using the global prng.

This also adds the `OIO` OVal type, supporting IO actions. This is
nessacary for using the global rng.

Adding support for indexing into OIO values.

Adding some expression tests for `rands`, checking that values are in
the desired range and count.
Adding support for the `lookup` function.
@lepsa lepsa changed the title Adding basic support for rands Adding basic support for rands and lookup Oct 8, 2022
@julialongtin julialongtin merged commit 8a19413 into Haskell-Things:master Oct 8, 2022
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.

2 participants