-
Notifications
You must be signed in to change notification settings - Fork 471
Add try..finally syntax #7903
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
base: master
Are you sure you want to change the base?
Add try..finally syntax #7903
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,7 @@ and t = private | |
| Lstringswitch of t * (string * t) list * t option | ||
| Lstaticraise of int * t list | ||
| Lstaticcatch of t * (int * ident list) * t | ||
| Ltrywith of t * ident * t | ||
| Ltrywith of t * ident * t option * t option | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. opportunity: this file is entirely uncommented More bigger / longer term assistance opportunity: why do we have both lambda and lam? Is that a historical artefact for what used to be backwards compatibility, or can they possibly be merged now? |
||
| Lifthenelse of t * t * t | ||
| Lsequence of t * t | ||
| Lwhile of t * t | ||
|
@@ -151,7 +151,7 @@ val seq : t -> t -> t | |
val while_ : t -> t -> t | ||
|
||
(* val event : t -> Lambda.lambda_event -> t *) | ||
val try_ : t -> ident -> t -> t | ||
val try_ : t -> ident -> t option -> t option -> t | ||
|
||
val assign : ident -> t -> t | ||
|
||
|
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.
curious why
fin
was already here