caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: sieira <jaimito.hendrix@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Doubt about function delaration parameter
Date: Wed, 15 Dec 2010 08:15:23 -0800 (PST)	[thread overview]
Message-ID: <30465308.post@talk.nabble.com> (raw)
In-Reply-To: <30464033.post@talk.nabble.com>


Thanks for your replies. I'm now having some issue with Raphael's suggestion
of using (string * string) list;; as the menu type.


type menu = (string*string) list;;

Results in a syntax error at the first parenthesis, while

type menu = string*string;;

fails too (at the asterisk)

It seems like I'm missing something. Since according to the 
http://caml.inria.fr/pub/docs/manual-caml-light/node3.5.html documentantion
, this sintax should be right.

I'm using Camllight 0.81 by François Boisson running in Ubuntu lucid lynx


-- 
View this message in context: http://old.nabble.com/Doubt-about-function-delaration-parameter-tp30464033p30465308.html
Sent from the Caml Discuss mailing list archive at Nabble.com.


  parent reply	other threads:[~2010-12-15 16:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 14:03 sieira
2010-12-15 15:14 ` Ashish Agarwal
2010-12-15 15:18 ` Esther Baruk
2010-12-15 16:15 ` sieira [this message]
2010-12-15 16:37   ` David Allsopp
2010-12-15 16:56   ` Raphael Proust
2010-12-15 17:12     ` bluestorm

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=30465308.post@talk.nabble.com \
    --to=jaimito.hendrix@gmail.com \
    --cc=caml-list@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).