Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "sebastien FURIC" <sebastien.furic@tni-software.com>
To: Vasili Galchin <vasiliocaml@yahoo.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Test case syntax error
Date: Fri, 05 Mar 2004 09:05:59 +0100	[thread overview]
Message-ID: <404834E7.B97067E@tni-software.com> (raw)
In-Reply-To: <20040305032546.43655.qmail@web41206.mail.yahoo.com>



Vasili Galchin wrote:
> 
>                while true do
> 
> 
>                   let (buffer:string) = "" in
>                      (* Do blocking read! *)
>                      let (x, y) = Unix.recvfrom descr
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> buffer 0 128 [MSG_OOB]
^^^^^^^^^^^^^^^^^^^^^^^^

 let _ = <expression> is not a syntactically valid expression. You have
to write let _ = <expression1> in <expression2> instead.

>                done
>           with
>              _ -> Printf.printf "%s\n" "blah";;


 Cheers,

 Sébastien.

-------------------
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


  parent reply	other threads:[~2004-03-05  8:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 14:24 [Caml-list] The Makefile Rakotomandimby Mihamina
2004-03-01 16:04 ` Remi Vanicat
2004-03-01 16:41   ` Rakotomandimby Mihamina
2004-03-02  1:00   ` [Caml-list] use of abstract type "inet_addr" Vasili Galchin
2004-03-02 10:00     ` Olivier Pérès
2004-03-02 15:38       ` Christophe TROESTLER
2004-03-04  2:48         ` SooHyoung Oh
2004-03-04 15:53           ` Henri DF
2004-03-05  3:25             ` [Caml-list] Test case syntax error Vasili Galchin
2004-03-05  4:42               ` William Lovas
2004-03-05  7:39               ` Shawn Wagner
2004-03-05  8:05               ` sebastien FURIC [this message]
2004-03-05 12:44                 ` John Carr
2004-03-05 15:13                   ` Remi Vanicat
2004-03-05 18:00             ` [Caml-list] use of abstract type "inet_addr" Didier Remy
2004-03-01 16:37 ` [Caml-list] The Makefile Rakotomandimby Mihamina

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=404834E7.B97067E@tni-software.com \
    --to=sebastien.furic@tni-software.com \
    --cc=caml-list@inria.fr \
    --cc=vasiliocaml@yahoo.com \
    /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