caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Drup <drupyog+caml@zoho.com>
To: Gabriel Scherer <gabriel.scherer@gmail.com>,
	 Andrea Giugliano <ag400@leicester.ac.uk>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Parse error with camlp4 while sources compile
Date: Wed, 13 Aug 2014 20:36:23 +0200	[thread overview]
Message-ID: <53EBB027.9090009@zoho.com> (raw)
In-Reply-To: <CAPFanBGguypqaMg7E0HzpoEBd1Qt9Uc+Tf+HVvM301-u-EnJ5w@mail.gmail.com>

Le 13/08/2014 18:28, Gabriel Scherer a écrit :
> Module type names, as module names, must start with an uppercase
> letter. Rename the signature into A or ASig, and you will be fine (for
> this particular error).
In this case, camlp4 is wrong (and in my experience, it's often wrong 
..). Module type names can start with a lower case letter.

# module type a = sig end ;;
module type a = sig  end

It's considered bad style, and is little know, since camlp4 get it 
wrong, but it works.


  reply	other threads:[~2014-08-13 18:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 15:30 Andrea Giugliano
2014-08-13 16:28 ` Gabriel Scherer
2014-08-13 18:36   ` Drup [this message]
2014-08-13 18:47     ` Gabriel Scherer
2014-08-13 22:43   ` Andrea Giugliano

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=53EBB027.9090009@zoho.com \
    --to=drupyog+caml@zoho.com \
    --cc=ag400@leicester.ac.uk \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@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).