You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a tryUnbox, isNull builtin operators [6099437]
Submitted by Dave Thomas on 6/25/2014 12:00:00 AM 15 votes on UserVoice prior to migration
Add builtin functions:
tryUnbox : obj -> 'T option
isNull: 'T -> bool when 'T : null
The first is an unbox operation which if successful would return Some<'a> on a successful unbox and None for a fail. This would allow the Option module to be used efficiently for single type matches and processing.
Add a tryUnbox, isNull builtin operators [6099437]
Submitted by Dave Thomas on 6/25/2014 12:00:00 AM
15 votes on UserVoice prior to migration
Add builtin functions:
tryUnbox : obj -> 'T option
isNull: 'T -> bool when 'T : null
The first is an unbox operation which if successful would return Some<'a> on a successful unbox and None for a fail. This would allow the Option module to be used efficiently for single type matches and processing.
Response
** by fslang-admin on 1/21/2015 12:00:00 AM **
Completed for F# 4.0, see https://visualfsharp.codeplex.com/SourceControl/network/forks/dsyme/cleanup/contribution/7672
Don Syme, F# Language/Library Evolution
Original UserVoice Submission
Archived Uservoice Comments
The text was updated successfully, but these errors were encountered: