Reputation: 6793
Probably related to What in lens should I use to build a read-only getter by index?
I'm looking for a variant of the lens function that allows me to build a Getter s a
from an s -> a
. Does something like this exist?
Upvotes: 1
Views: 178