-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat: Add GetResult(expr, defThunk) #187
Conversation
Workaround is carting around:
|
Could you add a release note and a new version for this? |
Sure, 6.1.3, or another number? |
Fell into same trap!
Not entirely sure, |
On reflection, I think the correct implementation may be a bit more involved... Give me a while before we merge it... |
I'm going to try another publish with this fix. |
Looks great, nice work (though I see my summary docs are lacking...) |
* Add GetResult(expr, defThunk) * Update ParseResults.fs Fell into same trap! * Add changelog * Add exception trapping + tests
* Add GetResult(expr, defThunk) * Update ParseResults.fs Fell into same trap! * Add changelog * Add exception trapping + tests
Useful to defer computation work (or raising of an exception in the course of that) to look up a fallback where a parameter is missing