[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Name spaces in programming languages
From: |
Ludovic Courtès |
Subject: |
Re: Name spaces in programming languages |
Date: |
Fri, 28 Oct 2005 10:47:10 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
"Alfred M\. Szmidt" <address@hidden> writes:
> Huh? Most lisp derivatives and scheme implementations have globally
> shared mutable namespaces, there are hacks (as you note) to confie
> things a bit, but that usually involves running a new repl, or telling
> top-repl to ignore things. But all in all, it is still a globally
> shared mutable namespace. If it wasn't, it would be a pita to use
> lisp.
Nope. In Guile, there is no such thing as a globally shared mutable
name space: each module has its own set of bindings. There _are_
bindings that are usually shared across modules, namely "core bindings".
In any case, the whole point of functional languages is to consistently
avoid relying on side-effects. Mutability is one such side-effect.
Depending on bindings defined in a globally accessible, mutable name
space is another one.
Thanks,
Ludovic.
- Which 90% of POSIX /is/ good then?, Brian Brunswick, 2005/10/26
- Re: Which 90% of POSIX /is/ good then?, Jonathan S. Shapiro, 2005/10/26
- Re: Which 90% of POSIX /is/ good then?, Alfred M\. Szmidt, 2005/10/27
- Message not available
- Fwd: Which 90% of POSIX /is/ good then?, Brian Brunswick, 2005/10/27
- Re: Fwd: Which 90% of POSIX /is/ good then?, Jonathan S. Shapiro, 2005/10/27
- Re: Fwd: Which 90% of POSIX /is/ good then?, Brian Brunswick, 2005/10/27
- Re: Fwd: Which 90% of POSIX /is/ good then?, Alfred M\. Szmidt, 2005/10/27
- Re: Fwd: Which 90% of POSIX /is/ good then?, Jonathan S. Shapiro, 2005/10/27
- Name spaces in programming languages, Ludovic Courtès, 2005/10/27
- Re: Name spaces in programming languages, Alfred M\. Szmidt, 2005/10/27
- Re: Name spaces in programming languages,
Ludovic Courtès <=
- Re: Name spaces in programming languages, Alfred M\. Szmidt, 2005/10/28
- Re: Name spaces in programming languages, Ludovic Courtès, 2005/10/28
- Re: Name spaces in programming languages, Alfred M\. Szmidt, 2005/10/28
- Re: Fwd: Which 90% of POSIX /is/ good then?, Marcus Brinkmann, 2005/10/27
- Re: Fwd: Which 90% of POSIX /is/ good then?, Alfred M\. Szmidt, 2005/10/27
Re: Which 90% of POSIX /is/ good then?, Jonathan S. Shapiro, 2005/10/27