4 ms·
I never thought about shifting perspective on the semicolon from imperative to function. I'll have to revisit the idea after I learn functional programming. For
by nickpsecurity 9y ago
I never thought about shifting perspective on the semicolon from imperative to function. I'll have to revisit the idea after I learn functional programming. For now, maybe what you describe could be possible with tools that do C++ metaprogramming in Haskell or Racket like below. I liked what I was reading despite not even using those languages. ;)
http://aszt.inf.elte.hu/~gsd/s/cikkek/abel/haskelltmp.pdf http://aszt.inf.elte.hu/~gsd/s/cikkek/abel/haskelltmp.pdf
http://matt.might.net/papers/ballantyne2014metameta.pdf http://matt.might.net/papers/ballantyne2014metameta.pdf