Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion converting a List to a Vector

Received: by 10.180.88.195 with SMTP id bi3mr2318914wib.3.1347955681391;
        Tue, 18 Sep 2012 01:08:01 -0700 (PDT)
X-BeenThere: scala-user@googlegroups.com
Received: by 10.180.83.226 with SMTP id t2ls4253731wiy.3.canary; Tue, 18 Sep
 2012 01:07:58 -0700 (PDT)
Received: by 10.180.82.226 with SMTP id l2mr2280969wiy.1.1347955678349;
        Tue, 18 Sep 2012 01:07:58 -0700 (PDT)
Received: by 10.180.82.226 with SMTP id l2mr2280968wiy.1.1347955678338;
        Tue, 18 Sep 2012 01:07:58 -0700 (PDT)
Return-Path: <alan.burli...@gmail.com>
Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41])
        by gmr-mx.google.com with ESMTPS id i17si2837336wiw.0.2012.09.18.01.07.58
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 18 Sep 2012 01:07:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of alan.burli...@gmail.com designates 74.125.82.41 as permitted sender) client-ip=74.125.82.41;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of alan.burli...@gmail.com designates 74.125.82.41 as permitted sender) smtp.mail=alan.burli...@gmail.com; dkim=pass header...@gmail.com
Received: by wgbds1 with SMTP id ds1so3471548wgb.2
        for <scala-user@googlegroups.com>; Tue, 18 Sep 2012 01:07:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:cc:subject
         :references:in-reply-to:content-type:content-transfer-encoding;
        bh=uQks1gHe8sX7aZDGWGHCOhBZnQcnK22AnJJqk9kviOQ=;
        b=jJVpl4wU/1ux3pNhhgffY6/VS25ZWjJoOqNkLlxhF/aY5AyU8N/88czZy7bzVMLum6
         6ZpF3cxaEJnj7E+qB+D4HZ5mlvjZ71vLf9oplVS4Ef3Rijxju2bTCnjVyMjVI/cQu+eE
         fnGiqzEEMPDVoYPh5gTka2PGrEUMCI2V+1tnfjatESOsyZhAU0vMurcqwBUWvLQOP0f9
         ABvd0gfrwPE+8xOl7hZSHKCwYOPcMKF6eXuClAgneGP6kAuo3Lh/ZRlc3a3KVZcN3Aid
         CSK8aPFrCXc00BFG52s097z/3DYWmyUe9OCnRp9d2hZWz/GU4jgTOUa6RFFQ+BKMW8dA
         /rxw==
Received: by 10.180.81.99 with SMTP id z3mr28534495wix.0.1347955678163;
        Tue, 18 Sep 2012 01:07:58 -0700 (PDT)
Return-Path: <alan.burli...@gmail.com>
Received: from [192.168.2.3] (host81-149-45-14.in-addr.btopenworld.com. [81.149.45.14])
        by mx.google.com with ESMTPS id k2sm30628639wiz.7.2012.09.18.01.07.56
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 18 Sep 2012 01:07:57 -0700 (PDT)
Message-ID: <50582BDB.7090...@gmail.com>
Date: Tue, 18 Sep 2012 09:07:55 +0100
From: Alan Burlison <alan.burli...@gmail.com>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2
MIME-Version: 1.0
To: Erik Osheim <e...@plastic-idolatry.com>
CC: Alex Cruise <a...@cluonflux.com>, "Russ P." <russ.paie...@gmail.com>, 
 scala-user@googlegroups.com
Subject: Re: [scala-user] converting a List to a Vector
References: <72217fd5-3962-43d1-9a72-e3cab60ab7b3@googlegroups.com> <CAFLqJkyGRy7KP++AXDiSG7yuxne6r71U3ne2zTUX=YZJ=Vv...@mail.gmail.com> <13dc1204-cf56-4a38-81ad-c883349bd374@googlegroups.com> <CAA2+nqGeDWsF=v7aFbKz323PKu9o6Hhm1vN-aTHJm6AJ6Ff...@mail.gmail.com> <5056EAC1.20...@gmail.com> <CAA2+nqFtN6BaTyEmPyYywxmKnZ8Mv47iAN-3=Fj7g6xybif...@mail.gmail.com> <50578246.4060...@gmail.com> <20120917200849.GA3...@cage.vpscustomer.com>
In-Reply-To: <20120917200849.GA3...@cage.vpscustomer.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 17/09/2012 21:08, Erik Osheim wrote:

> I think you misunderstood Alex's email. The name "::" is the name of
> one of List's subclasses (the other name being "Nil"). Obviously, you
> can't define two classes of the same name, so there can't be another
> class named "::" for Vector, or any other class.

Ah, of course - that makes sense.  And I suppose it forms a cautionary 
tale as well - when using classnames-that-look-like-syntax, you only get 
to use them once, so choose wisely.

> Hope this helps,

It does, thank you.

-- 
Alan Burlison
--