Dmitry Galchinsky
Dmitry Galchinsky
1. Templates in templates like in this PR https://github.com/vinniefalco/DSPFilters/pull/22/files 1. Preprocessor macro `#define FLOATTYPE float` The second one is easier to implement. You should check for numerical issues though.
@1eqinfinity I would use a tagged union with needed template instances. Not very elegant but very local and thus fast, also no virtual functions would be used. Another hack is...
@ethanbb are you talking about this https://github.com/vinniefalco/DSPFilters/pull/26 PR? I could merge it.
This repo is supposed to be the main and I asked to maintain it. My last commit adds the include statement to Common.h.
I guess `SmoothedFilter` might help you here.
Usually a construction is more rare than using. That's why cache friendliness of an object is often better than some creation overhead.
Looks cool for me. Functional ADT syntax is totally reinvented. Comma in variants could be "|" to make it more consistent with constructor. ``` type MyType (); // constructed by...
Remove square brackets? What is the difference between record and variant in this case?
The idea is clear, this unification is done in almost every language with algebraic datatypes, not only Koka. I asked about another thing. Koka uses the rule "record fields are...
Variant instances don't have names, record fiels have... This works but looks too cryptic to me