An elegant way to solve the problem in rescript actually already exists, just use exceptions instead of result / option monads and use reanalyze to track exceptions statically.
↧
An elegant way to solve the problem in rescript actually already exists, just use exceptions instead of result / option monads and use reanalyze to track exceptions statically.