I’ve been working on one of the issues, updating d...
# arrow
k
I’ve been working on one of the issues, updating documentation that advises on using
Try
so that it does not advise this anymore (
Try
is deprecated). In a Prism documentation that uses
Try
, there is an example that uses
pTrySuccess
, which allegedly lives in
arrow.optics
. However, I have cloned the Arrow repo and have searched the entire codebase for this string. It only appears in
arrow-optics/prism/README.me
but in no actual code. I can’t find it in the git history for
Optics.kt
either. Does anyone remember what this function was supposed to do? If I’m already replacing
Try
with
Either
in many places, I need to get this code working so I can make sure my new documentation is functional code.
s
Hey @kyleg, I think this is the file you’re looking for. Sadly it seems those files got outdated 😞 https://github.com/arrow-kt/arrow/blob/master/modules/optics/arrow-optics/src/main/kotlin/arrow/optics/std/try.kt
Optics is the first thing I build when contributing to Arrow. Thanks this contribution 👏 It’s great help