From: "Ivan Matveich" <ivan.matveich@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] lablgtk2: receiving messages from network?
Date: Sun, 16 Apr 2006 18:28:12 -0400 [thread overview]
Message-ID: <b5def3a40604161528l636cd34av486f118a3eccb694@mail.gmail.com> (raw)
In-Reply-To: <6b8a91420604151554jb36f96aw789a8d42755c1add@mail.gmail.com>
Thanks, module Glib.Io is what I needed.
Now I have another question. I've started writing some code,
module Channel =
struct
type event =
| Connected of Unix.sockaddr
| Dropped of Unix.sockaddr
| Received of Unix.sockaddr * x
| Sent of Unix.sockaddr * x
type action =
| Associate of Unix.sockaddr
| Dissociate of Unix.sockaddr
| Send of Unix.sockaddr * x
where x will be something returned by Marshal.from_string.
How do I properly specify its type?
next prev parent reply other threads:[~2006-04-16 22:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-15 19:33 Ivan Matveich
2006-04-15 19:45 ` [Caml-list] " yoann padioleau
2006-04-15 20:10 ` Markus Mottl
2006-04-15 20:58 ` Eric Cooper
2006-04-15 22:54 ` Remi Vanicat
2006-04-16 22:28 ` Ivan Matveich [this message]
2006-04-16 23:45 ` Jacques Garrigue
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=b5def3a40604161528l636cd34av486f118a3eccb694@mail.gmail.com \
--to=ivan.matveich@gmail.com \
--cc=caml-list@yquem.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).