Working with tables and strict funcs

2022-01-19 Thread jayv
Yes, that clears the compiler error, but it's actually the opposite of what I want. I want the compiler to see that `f` is immutable, so in a more complicated scenario it can catch any errors where I do mutate it by accident.

Working with tables and strict funcs

2022-01-19 Thread jayv
I like the strict funcs experimental feature, and I like using it in my side projects. But I'm having a small issue and wanted to see what others think about it. Here's the setup: I have a reference type with a private member that is a table. I want a pure function to be able to read from that

SymbolicNim, symbolic algebra in Nim

2020-08-04 Thread jayv
@cblake mentioned it in their post but my personal uses of symbolic algebra libraries have been for finding analytic partial derivatives of simple but tedious expressions. Mostly high degree polynomials in multiple variables but also some other things like 1/x. Also simple arithmetic on polynomi