mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-28 18:10:23 +00:00
So csv.py should now be mostly feature complete, aside from bugs. I ended up dropping most of the bitwise operations for now. I can't really see them being useful since csv.py and related scripts are usually operating on purely numerical data. Worst case we can always add them back in at some point. I also considered dropping the logical/ternary operators, but even though I don't see an immediate use case, the flexibility logical/ternary operators add to a language is too much to pass on. Another interesting thing to note is the extension of all fold functions to operate on exprs if more than one argument is provided: - max(1) => 1, fold=max - max(1, 2) => 2, fold=sum - max(1, 2, 3) => 3, fold=sum To be honest, this is mainly just to allow a binary max/min function without awkward naming conflicts. Other than those changes this was pretty simple fill-out-the-definition work.