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.

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to