From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id B31EC5D5 for ; Mon, 24 Dec 2018 06:31:54 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.56,391,1539640800"; d="scan'208";a="361630170" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 24 Dec 2018 07:31:53 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id 9934982567; Mon, 24 Dec 2018 07:31:53 +0100 (CET) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 613AC824E4 for ; Mon, 24 Dec 2018 07:31:42 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.56,391,1539640800"; d="scan'208";a="290032523" Received: from abo-91-111-68.mrs.modulonet.fr (HELO hadrien) ([85.68.111.91]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Dec 2018 07:31:41 +0100 Date: Mon, 24 Dec 2018 07:31:41 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: SP cc: Robert Muller , Ocaml Mailing List In-Reply-To: <20181223231315.e4gopclixfcymu65@darkstar> Message-ID: References: <20181223231315.e4gopclixfcymu65@darkstar> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Caml-list] Surely there is a very simple way to upgrade to the latest releases of opam & ocaml Reply-To: Julia Lawall X-Loop: caml-list@inria.fr X-Sequence: 17263 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, 23 Dec 2018, SP wrote: > You are correct about `opam switch ...`. Opam tends to be installed using the > package manager or in one of the methods decribed here: > https://opam.ocaml.org/doc/Install.html It would be nice to have in an obvious place a concrete example of how to get the latest version of ocaml. For example the opam usage page (https://opam.ocaml.org/doc/Usage.html) has a Basics section that proposes opam upgrade as "Bring everything to the latest version possible", but I guess that would be everything except OCaml itself? There is a documentation for opam switch further down, but first one has to know to find it, and then it talks about "have several installations on disk" (several installations of what?) and "Use cases include having to work or test with different OCaml versions," but nothing about upgrading to th latest version of OCaml. There is "Use opam switch create [name] to switch to a different compiler." but no concrete example of what a looks like. I submitted an OCaml bug report about this. I also basically find the word switch very confusing and unmemorable. It is both a noun and a verb with different meanings, and I don't know which is intended. The documentation seems to use both, which is more confusing than helpful. julia > > -- > SP > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list > Forum: https://discuss.ocaml.org/ > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Caml-list mailing list. Subscription management and archives: https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list Forum: https://discuss.ocaml.org/ Bug reports: http://caml.inria.fr/bin/caml-bugs