[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mutation - do you understand it really?
From: |
Michael Heerdegen |
Subject: |
Re: Mutation - do you understand it really? |
Date: |
Thu, 19 Jan 2023 14:59:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Emanuel Berg <incal@dataswamp.org> writes:
> Symbols can have values, that value can change so it's
> mutable, but the symbol can be assigned something else (or
> nothing), so that's mutable as well. It's all mutable, that's
> what you mean?
>
> So when you compile you don't do that, instead generate a new
> one for each time the binding is reassociated?
In Haskell you can't change variable bindings like in Lisp. You
program in a completely different style. Read an introduction into
Haskell if you are interested, then you'll understand the reaction.
Michael.