caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David McClain" <dmcclain1@mindspring.com>
To: <caml-list@yquem.inria.fr>
Subject: Module Abbreviations in MLI Files
Date: Tue, 6 Dec 2005 11:27:13 -0700	[thread overview]
Message-ID: <00fd01c5fa92$ae4bf570$0201000a@dylan> (raw)

I'm a bit rusty writing raw OCaml from scratch, and I ran into syntax errors
this morning whenever I tried to use Module abbreviations, such as

module T = Types

in my MLI files. These work just fine in ML files.

What is the reason for preventing type abbreviations in the interface spec?

Cheers,

- David McClain


             reply	other threads:[~2005-12-06 18:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 18:27 David McClain [this message]
2005-12-06 23:27 ` [Caml-list] " Jacques Garrigue

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='00fd01c5fa92$ae4bf570$0201000a@dylan' \
    --to=dmcclain1@mindspring.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).