mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-17 22:47:28 +00:00
This code is extracted from the error-handling proposal where it's used to implement `Try` blocks (Faux closures are created there in order to assign raises lists to them). The desktop team faced a similar problem where the `spawn` API doesn't support closures, but the restriction can be easily worked-around with faux closures.
Candidates for standard library inclusion - functions and helpers that are too small to put in their own git repository