News for hackers. Stuff that matters.
Re:Rust RAII is better than the Haskell bracket pattern by Zalastax on Tuesday October 09, 2018 @10:49AM (#18176393)
It's possible if you have dependent types and are not afraid to (ab)use the type system. See section 2.4 of my thesis (link in bio) for a taste. You have to squint a bit but a system like that can ensure linearity.

There are no comments on this comment yet.