Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: rixed@happyleptic.org
To: caml-list@inria.fr
Subject: Re: [Caml-list] Syntax puzzle / suggestion
Date: Sat, 10 Aug 2019 07:19:15 +0200	[thread overview]
Message-ID: <9f94936c-4e1a-42bb-bb72-ac9585e46b6b@www.fastmail.com> (raw)
In-Reply-To: <dbb8c10d-0b83-071e-828e-2aaeec6cef86@derivation.org>

On Fri, Aug 9, 2019, at 16:48, Martin Riener wrote:
>   let [item1; item2] as all_items = ["hello"; "world" ]

Nice!

> Warning 8: this pattern-matching is not exhaustive.
> Here is an example of a case that is not matched:
> (_::_::_::_|_::[]|[])

let [item1; item2] as all_items = ["hello"; "world" ] [@@ocaml.warning "-8"]


  reply	other threads:[~2019-08-10  5:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 14:27 Richard W.M. Jones
2019-08-09 14:40 ` Gabriel Scherer
2019-08-09 14:45   ` Richard W.M. Jones
2019-08-09 14:48 ` Martin Riener
2019-08-10  5:19   ` rixed [this message]
2019-08-09 14:51 ` Josh Berdine
2019-08-10 15:18   ` Oliver Bandel
2019-08-10 20:34   ` Chet Murthy
2019-08-09 14:56 ` Frédéric Bour

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=9f94936c-4e1a-42bb-bb72-ac9585e46b6b@www.fastmail.com \
    --to=rixed@happyleptic.org \
    --cc=caml-list@inria.fr \
    /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