4 ms·
Interesting article but it is a bit funny that the author says that they are fed up with C++, then they try to hack around the lack of HKT :)
by gpderetta 5y ago
Interesting article but it is a bit funny that the author says that they are fed up with C++, then they try to hack around the lack of HKT :)
- bally0241 5y agoROFL, oh yes this is so much better and the syntax so much clearer than C++. ;)
- marcosdumay 5y agoHum... Even though C++ can do HKT with templates, it's not a convenient feature of the language. C++ is really not the language that comes to mind when somebody talks abut HKT.
- gpderetta 5y agoAs C++ features go, HKTs in the form of template arguments and templated associated types are fairly straightforward to use and understand. In fact we had usable type level lambdas before we got actual lambdas in the language. Of course, as the rest of templates there is no actual definition time type checking.