Comment Comment by jhickner Does lens have a succinct way to traverse a nested data structure where each node is a maybe?Lenses + Prisms (nicest way I know of in lens):nested ^? foo . _Just . bar . _Just . baz . _Justvs. the Maybe monad:foo >=> bar >=> baz $ nested parent jhickner 13 years ago
Lenses + Prisms (nicest way I know of in lens):
nested ^? foo . _Just . bar . _Just . baz . _Just
vs. the Maybe monad:
foo >=> bar >=> baz $ nested