I'm just getting started with Optics. I know about...
# arrow
c
I'm just getting started with Optics. I know about modify. Is there a method to return a value if it exists in the current sealed class structure or null? EDIT: Nevermind, answered my own question. I just found
getOrNull()
... are there docs of all the functions available somewhere?
s
c
Oh, I was looking there. I kept clicking on Lens and getting nothing. It seems I needed to click on PLens instead.