shradjh1
03/06/2016, 4:33 PMT?.map(block: (T) -> R): R?
map / bind-type function for nullable types in the standard library odd. It seems like that's all that's needed for monadic operations on nullable types, and I haven't been able to find an idiomatic way of applying a function to the non-null value (except when calling a method on the nullable type using .?
).