Zulip Chat Archive

Stream: lean4

Topic: Only catch IO errors


Leni Aniva (Nov 14 2024 at 01:19):

Is there a way to write a try ... catch ex => block in a monad on top of IO (e.g. CoreM) that only catches IO errors?

IO.Error is different from Lean.Exception, and I want to have a branch that catches these


Last updated: May 02 2025 at 03:31 UTC