Fuck. Rust has bitten me again. Lifetimes are such a pain when dealing with `Box<dyn Fn>`.
I think I'm going to have to either go back to Haskell, or learn OCaml. But still call Rust for a few things.
There's no good solution here, and I'm grumpy.
Fuck. Rust has bitten me again. Lifetimes are such a pain when dealing with `Box<dyn Fn>`.
I think I'm going to have to either go back to Haskell, or learn OCaml. But still call Rust for a few things.
There's no good solution here, and I'm grumpy.
Uuuuurgh, I do not want to rewrite all of this in a different language. The test cases alone will take forever.
Got it working by throwing `Arc` at it and running away, Zoidberg-style.
Thanks to @leftpaddotpy for the motivation to continue.
I shall now stop complaining about Rust for *checks watch* the next 87 seconds.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.