safeFindStudent is a safe lookup for a student record. It returns the result wrapped in Maybe, so missing data becomes Nothing instead of a crash. section 5.3
It fits a pattern for uncertain operations like database queries and collection lookups. The wrapped return value makes the function honest about possible absence and supports further mapping. section 5.3
Safe student address lookup
safeFindStudent('444-44-4444').map(R.prop('address')) returns Just(Address(...)) when the student exists, or Nothing when it does not.
