Re: upvalues actually are values?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: upvalues actually are values?
- From: Sam Roberts <vieuxtech@...>
- Date: 2012年10月23日 13:09:32 -0700
On Tue, Oct 23, 2012 at 12:46 PM, spir <denis.spir@gmail.com> wrote:
> (But I still feel this breaks referential transparency, I can't count on a
> func to only depend on its input... maybe it's only me.)
Its not you, but it isn't Lua, either. Lua supports a functional
"style" of programming, but it isn't a functional language. Check out
scala, erlang, haskell, scheme, kindof...