Comment Comment by egamble I wrote something like that several years ago: https://github.com/egamble/let-else parent egamble 9 years ago