JIT: Using Option and Try in for-Expressions | Video: Free Introduction to Functional Programming Course
Briefly

When a for expression handles Option values and produces a result, the outcome is also an Option, maintaining consistency in datatype handling within the expression.
The datatype within Option is preserved when used in for/yield areas, ensuring consistent processing of 'success' types contained within the Option.
Read at Alvinalexander
[
]
[
|
]