Term re-writing systems are a really interesting way of looking at computation.
It completely abstracts away the concept of a machine, and it's simply translation as computation - but equally as powerful.
replies(3):
It completely abstracts away the concept of a machine, and it's simply translation as computation - but equally as powerful.
This lecture series goes into how it works: https://www.youtube.com/watch?v=LE0SSLizYUI
Similar to LISP in that sense.
Mathematica is at least semi-mainstream. Not sure of any other examples though.
https://maude.lcc.uma.es/maude-manual/maude-manualch1.html#x...
Also, why is this needed over the second line?
(map a (:lambda fun) = fun a)
(map a fun = fun a)