5 ms·
It's definitively different than Frunk, the library is not a general-purpose functional toolkit. One could certainly implement it with Zig's compile-time reflec
by boricj 2y ago
It's definitively different than Frunk, the library is not a general-purpose functional toolkit. One could certainly implement it with Zig's compile-time reflection with ease (don't know much about D). Actually, it's superficially similar to refl-cpp's serialization example [1], but with far less templating magic underneath due to the restricted scope.
[1] https://github.com/veselink1/refl-cpp/blob/master/examples/example-serialization.cpp https://github.com/veselink1/refl-cpp/blob/master/examples/e...