Anders Skovsted Buch
Anders Skovsted Buch
Thanks for the comments! Values can be used without typing select on both sqlite and mariadb: ``` sqlite> values (2,4), (5,1); 2|4 5|1 ``` I don't know if any column...
I needed the Values functionality on MariaDB, and I managed to get it to work with the code below. It doesn't work with SQLite, and there is surely a better...
Thanks @zzzeek for hacking away at this! Your .as_union() method looks like a great solution to me!
Many combinatorial objects have several different representations that are useful in different situations. I would like to be able to set my preferred representation globally. The printing context seems like...
Example: Elements of the cohomology ring of a flag variety has a natural basis of Schubert classes, and those Schubert classes can be indexed by many types of combinatorial objects,...
Correct, this is about printing custom types, typically linear combinations where the coefficients are `RingElement`s but the formatting of basis elements should be configurable at runtime. I would like to...
This is what I was hoping to do! But my `expressify()` function usually receives the default value `nothing` in the `context` argument, so `get(context, :youroption, false)` will not work. Thanks...
Thanks so much! This demonstrates that everything works like I hoped, but I must have made incorrect conclusions from my experiments. Issue solved!
Actually, my `CohomElem` class is a subclass of `RingElement`, so it might be used as elements in a matrix or coefficients in a polynomial, in which case I don't think...
Using the print context would be more elegant, and would allow overriding the settings from a print command inside a function with something like: `print(IOContext(stdout, :myopt => true), schub_class)` But...