caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: "Matej Košík" <mail@matej-kosik.net>
Cc: "vrotaru.md\@gmail.com" <vrotaru.md@gmail.com>,  caml-list@inria.fr
Subject: Re: [Caml-list] beginner question about pattern matching
Date: Thu, 19 Oct 2017 16:31:57 +0200	[thread overview]
Message-ID: <m260bbqkde.fsf@charm-wifi.irisa.fr> (raw)
In-Reply-To: <2a85acfe-9154-fc07-6265-a1847f883d00@matej-kosik.net> ("Matej \=\?utf-8\?B\?S2\/FocOtayIncw\=\=\?\= message of "Thu, 19 Oct 2017 16:24:44 +0200")

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

On 2017-10-19 16:24, Matej Košík <mail@matej-kosik.net> writes:

> Instead of the whole
>
>   Rtag (something1, something2, something3, something4)
>
> I would like to bind just the 4-tuple
> (without the Rtag label).

I think it is not possible because the memory layout is not the same
(you need to destructure the Rtag block and create a new block for the
tuple).

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-09: 403.38, 2016-09: 401.03

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  parent reply	other threads:[~2017-10-19 14:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19 13:38 Matej Košík
2017-10-19 14:16 ` vrotaru.md
2017-10-19 14:24   ` Matej Košík
2017-10-19 14:29     ` vrotaru.md
2017-10-19 14:30       ` Olivier Nicole
2017-10-19 14:31     ` Alan Schmitt [this message]
2017-10-19 14:34 ` Gabriel Scherer
2017-10-19 14:40   ` Matej Košík
2017-10-19 14:44   ` vrotaru.md

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=m260bbqkde.fsf@charm-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=caml-list@inria.fr \
    --cc=mail@matej-kosik.net \
    --cc=vrotaru.md@gmail.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).