Inspired by @NicolasRinaudo, I played around with Scala capture checking enough to convince myself we could make Cats Effect’s Resource safer.
No idea what I’m doing but I achieved my goal of stopping the naughty code from compiling.
Inspired by @NicolasRinaudo, I played around with Scala capture checking enough to convince myself we could make Cats Effect’s Resource safer.
No idea what I’m doing but I achieved my goal of stopping the naughty code from compiling.