caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Serge Leblanc <serge.leblanc@orange.fr>
To: caml-list@yquem.inria.fr
Subject: revised syntax for abstract types ?
Date: Thu, 10 Dec 2009 12:56:44 +0100	[thread overview]
Message-ID: <1260446204.22959.298.camel@serge2.localnet> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 505 bytes --]

Hi, the documentation for the revised syntax explain that abstract types
are expressed by :
type bar = 'a; but ocaml returns an error.


#
        Objective Caml version 3.11.1

	Camlp4 Parsing version 3.11.1

# type bar = 'a ;
Error: Unbound type parameter 'a

http://caml.inria.fr/pub/docs/manual-camlp4/manual007.html

Thanks,
--
Serge Leblanc
gpg --keyserver  hkp://keyserver.ubuntu.com:11371 --recv-keys 0x33243C1B
Fingerprint = 066C 005F 5595 D85C 7673  D969 1DD4 90C4 3324 3C1B

[-- Attachment #1.2: Type: text/html, Size: 1138 bytes --]

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2009-12-10 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10 11:56 Serge Leblanc [this message]
2009-12-10 13:49 ` [Caml-list] " Nicolas Pouillard
2009-12-10 14:29   ` Stefano Zacchiroli
2009-12-10 18:10   ` Serge Leblanc
2009-12-11  0:14     ` 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=1260446204.22959.298.camel@serge2.localnet \
    --to=serge.leblanc@orange.fr \
    --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).