caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: SP <sp@orbitalfox.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] Cmdliner 1.0.0
Date: Thu, 2 Mar 2017 00:53:37 +0100	[thread overview]
Message-ID: <B27E3A0C809A47789ADBFAFCF2DF880A@erratique.ch> (raw)
In-Reply-To: <e15c2e52-edbd-4095-58e8-e55807aefac2@orbitalfox.com>

On Thursday, 2 March 2017 at 00:33, SP wrote:
> Good work Daniel, thank you. Are there notes anywhere on what and how to
> migrate for version 1.0.0, or is it simply a case of using Arg constructors?

Mostly yes, you are only affected if you defined your own argument converters and the type system won't bark in this release. The shortest fix is to wrap existing parser-printer pairs with Arg.pconv [0].

A few projects are affected by the addition of the `Blocks case in the Manpage.block type [1]. 

This should mostly be it --- higher-order users may be affected by the addition of optional arguments to some other functions though (e.g. Term.info).

Best, 

Daniel

[0] http://erratique.ch/software/cmdliner/doc/Cmdliner.Arg.html#VALpconv
[1] http://erratique.ch/software/cmdliner/doc/Cmdliner.Manpage.html#TYPEblock





  reply	other threads:[~2017-03-01 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 23:27 Daniel Bünzli
2017-03-01 23:33 ` SP
2017-03-01 23:53   ` Daniel Bünzli [this message]
2017-03-03  9:00     ` SP

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=B27E3A0C809A47789ADBFAFCF2DF880A@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --cc=sp@orbitalfox.com \
    /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).