From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.tangents Subject: Clojure namespaces (was: Re: Emacs Lisp's future) Date: Tue, 11 Oct 2016 11:38:15 -0700 Message-ID: References: <87wq97i78i.fsf@earlgrey.lan> <86k2dk77w6.fsf@molnjunk.nocrew.org> <642fd4b4-8b1c-a537-5a5f-6940691ec4b9@gmail.com> <87vax2frkd.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_B1C2C7C7-55FF-4673-A0AD-063E8B9FC333" X-Trace: blaine.gmane.org 1476211128 15777 195.159.176.226 (11 Oct 2016 18:38:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2016 18:38:48 +0000 (UTC) To: emacs-tangents@gnu.org Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Tue Oct 11 20:38:44 2016 Return-path: Envelope-to: get-emacs-tangents@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bu1wk-0002kZ-Vx for get-emacs-tangents@m.gmane.org; Tue, 11 Oct 2016 20:38:39 +0200 Original-Received: from localhost ([::1]:57404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu1wm-0007GD-KO for get-emacs-tangents@m.gmane.org; Tue, 11 Oct 2016 14:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu1wW-0007Eg-UW for emacs-tangents@gnu.org; Tue, 11 Oct 2016 14:38:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bu1wS-0002FN-VI for emacs-tangents@gnu.org; Tue, 11 Oct 2016 14:38:24 -0400 Original-Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:33891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu1wS-0002Es-M8 for emacs-tangents@gnu.org; Tue, 11 Oct 2016 14:38:20 -0400 Original-Received: by mail-pf0-x22a.google.com with SMTP id 190so6229191pfv.1 for ; Tue, 11 Oct 2016 11:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=5RUTBBXf0g9y/3EIlp33sxHlf5eVBN+jcvTrM3qUviE=; b=y3Y+czxUGpf+8riPQhDKuh7oqVlo7OaoST6o3K1kuvRTFNd5O2uh2zknEN6INRlTvJ tqGjafUTkRNQHRIDgJExUKEjWNjfOScdf/F6xowrUN62u/OpHzZam4n2uA3M8LdZXSvH 0vG/yfbj3PQkzC1ICSwZ/shW3WzrkBjNTZChOueMgGNkqB5R/tVay/blQcpntnNXONsa lblrLFN0VKAw6DaE3XQi8Y/ObH1GJQAoSSF9vo5aHn96MWRcQDAvOiF8MZmhUbXHQwa1 YvUDKKQXoN6g5KgUqpwR4a0r8BA/MvxhiyHZ+j8jUtXGOz1vkGmGmRinaayOgd1byCVW OmIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=5RUTBBXf0g9y/3EIlp33sxHlf5eVBN+jcvTrM3qUviE=; b=OVpnqdfN8gm06Gpk6a+hHGD46uk6akkBD7wVTWQF4V0hRWQaHMDs+a8IvWFGqPEztl 0IyCKUHAW+6MM4+RCuzu5CT0keeiD7IqwukdDCiqUrDP3cqoX0Qc+evne47KqsSnUTSQ ksXw0AMApre3K+Hzy/fJw8z+XJp+RupgyPlYTZofgeEybeu603J51xjSUa/IW7H2QVeG i43C5U1kQuCsxFnHA5tFppilg9DALbifcpj50Nc8FSNokzQTmLaeNwdg+J6LFb/fvIAu g5PxA7bf2uVmwkXJJAODS+PQrYOgwU8+buf5MJBpLEYS2VJbcN5VRe9CbQE4nf693wNi dZRg== X-Gm-Message-State: AA6/9Rmb/WN1e/csVytvqVDVaalVDoFWLJUg3+BeGId0qznQXH3nl5+RYQ0XxpxavDi/qg== X-Received: by 10.99.242.69 with SMTP id d5mr3083881pgk.69.1476211098641; Tue, 11 Oct 2016 11:38:18 -0700 (PDT) Original-Received: from [10.4.1.65] (50-234-24-126-static.hfc.comcastbusiness.net. [50.234.24.126]) by smtp.gmail.com with ESMTPSA id z123sm5962346pfz.60.2016.10.11.11.38.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2016 11:38:16 -0700 (PDT) In-Reply-To: <87vax2frkd.fsf@petton.fr> X-Mailer: Apple Mail (2.3226) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22a X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Original-Sender: "Emacs-tangents" Xref: news.gmane.org gmane.emacs.tangents:161 Archived-At: --Apple-Mail=_B1C2C7C7-55FF-4673-A0AD-063E8B9FC333 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 8Oct, 2016, at 14:40, Nicolas Petton wrote: >=20 >> Namespace systems do not fit well into Lisp. Common Lisp's is a = total >> mess. It is better to use name prefixes. >=20 > Have you had a look at Clojure namespaces? > http://clojure.org/reference/namespaces = Thanks for the ref! Did anyone else find it odd that Clojure=E2=80=99s namespace-related = functions use all three namespace affix conventions? For example, name-: = (ns-unmap, ns-name), -name: (all-ns, find-ns), and neither: (import, = intern). That caught my clojure-ignorant eye. Thanks, ~Chad= --Apple-Mail=_B1C2C7C7-55FF-4673-A0AD-063E8B9FC333 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On 8Oct, 2016, at 14:40, Nicolas Petton <nicolas@petton.fr> = wrote:

Namespace systems do not = fit well into Lisp.  Common Lisp's is a total
mess. =  It is better to use name prefixes.

Have you had a look at Clojure namespaces?
http://clojure.org/reference/namespaces

Thanks for the ref!

Did anyone else find it odd that Clojure=E2=80=99s = namespace-related functions use all three namespace affix conventions? = For example, name-: (ns-unmap, ns-name), -name: (all-ns, find-ns), and = neither: (import, intern). That caught my clojure-ignorant = eye.

Thanks,
~Chad
= --Apple-Mail=_B1C2C7C7-55FF-4673-A0AD-063E8B9FC333--