caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: SP <sp@orbitalfox.eu>
Cc: Robert Muller <robert.muller2@gmail.com>,
	 Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Surely there is a very simple way to upgrade to the latest releases of opam & ocaml
Date: Mon, 24 Dec 2018 07:31:41 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1812240719350.3054@hadrien> (raw)
In-Reply-To: <20181223231315.e4gopclixfcymu65@darkstar>



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] <package-or-version> to switch to
a different compiler." but no concrete example of what a
<package-or-version> 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

      reply	other threads:[~2018-12-24  6:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 22:40 Robert Muller
2018-12-23 23:12 ` Robert Muller
2018-12-23 23:13 ` SP
2018-12-24  6:31   ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.1812240719350.3054@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=caml-list@inria.fr \
    --cc=robert.muller2@gmail.com \
    --cc=sp@orbitalfox.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).