caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: mfmorss@aep.com
To: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: different records, same field name?
Date: Mon, 3 Mar 2008 11:51:57 -0500	[thread overview]
Message-ID: <OF27A2428D.CC65E3C9-ON85257401.005C4529-85257401.005CAA42@aep.com> (raw)

I have not used OCaml, just done some reading about it and toyed with the 
toplevel to see if it might be a useful tool here.  I have "Practical 
OCaml," which unfortunately is a rather wretched reference.

In any case, is it possible to define and use different types of records, 
which nevertheless share some field names?  I have had difficulty doing 
this in the toplevel.


             reply	other threads:[~2008-03-03 16:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 16:51 mfmorss [this message]
2008-03-03 16:53 ` [Caml-list] " Jon Harrop
2008-03-03 16:55 ` Basile STARYNKEVITCH
2008-03-03 19:32   ` Kuba Ober
2008-03-03 21:04     ` Michael Wohlwend
2008-03-03 22:29     ` Jon Harrop
2008-03-03 18:45 ` DooMeeR
2008-03-04  9:52   ` Berke Durak
2008-03-04 10:25     ` David Teller

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=OF27A2428D.CC65E3C9-ON85257401.005C4529-85257401.005CAA42@aep.com \
    --to=mfmorss@aep.com \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).