3 ms·
You can write a type aligned list of functions datastructure in any language with generics and some form of interface, the same way you'd write a cons list. (To
by lmm 4y ago
You can write a type aligned list of functions datastructure in any language with generics and some form of interface, the same way you'd write a cons list. (To write a generic version of it you need HKTs, but with the type fixed to -> that's not an issue)