Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Doubt about function delaration parameter
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: sieira <jaimito.hendrix@g...>
Subject: Re: [Caml-list] Doubt about function delaration parameter

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 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:
Sent from the Caml Discuss mailing list archive at