-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add Monadic Try construct to the Stainless library #1515
Conversation
…stead of Traversable
An inline version of the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should work to remove the BigInt import as BigInt should be visible by default.
|
||
import stainless.lang._ | ||
import stainless.proof._ | ||
import scala.collection.immutable.Range.BigInt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we import scala.collection.immutable.Range.BigInt
? I did not see this in other Stainless programs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, that was imported automatically by metals and I didn't spot it.
No description provided.