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

fix(fstar-core): add support for Option::map #882

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

ROMemories
Copy link
Contributor

This is an attempt at adding support for Option::map in the F* model of the Rust core library.
The model is copied from the existing one of Option::and_then, with the return type of the closure being adapted.

Is there any additional integration/unit tests to write for these models?

@maximebuyse
Copy link
Contributor

The implementation looks correct to me.

There are no tests for fstar-core AFAIK.

@franziskuskiefer franziskuskiefer added this pull request to the merge queue Sep 10, 2024
@franziskuskiefer
Copy link
Member

There are no tests for fstar-core AFAIK.

Unfortunately not yet.

Merged via the queue into hacspec:main with commit 5e3e6d2 Sep 10, 2024
13 checks passed
@ROMemories
Copy link
Contributor Author

Thanks a lot for merging this!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants