Browse thread
[Caml-list] small problem
- Klaus Benecke
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Klaus Benecke <benecke@i...> |
| Subject: | [Caml-list] small problem |
How to omit the syntax error in OCAML in CAML it runs.
let hd = function
[] -> failwith "hd"
| a::l -> a;;
Characters 2-3:
| a::l -> a
^
Syntax error
Mit freundlichen Gruessen
Klaus Benecke
e-mail: benecke@iws.cs.uni-magdeburg.de
home-page: http://theo.cs.uni-magdeburg.de/benecke.html
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners