
4 Nov
2015
4 Nov
'15
10:32 a.m.
Jeremy
writes:
The idea is that instead of (title person) ++ " " ++ (firstName person) ++ " " ++ (lastName person)
we could have
person.title ++ " " ++ person.firstName ++ " " ++ person.lastName
-1. "." means composition, not application. Is there a reason you can't use another operator name, as lens did with ^.? person^.title ++ " " ++ person^.firstName ++ " " ++ person^.lastName John