| It's interesting to see Haskell vibes mentioned. Where's the "well yes but actually no" meme when one needs it. It's not Haskell, it's Scheme. https://www.lua.org/doc/hopl.pdf > Semantically, Lua has many similarities with Scheme,
even though these similarities are not immediately clear be-
cause the two languages are syntactically very different. The
influence of Scheme on Lua has gradually increased during
Lua’s evolution: initially, Scheme was just a language in the
background, but later it became increasingly important as
a source of inspiration, especially with the introduction of
anonymous functions and full lexical scoping Of course, Haskell was also Scheme influenced although it's an ML descendant. Speaking of this, I wonder what would've happened if they embedded Lua into Netscape instead of writing JavaScript... |