caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alexy Khrabrov <deliverable@gmail.com>
To: OCaml <caml-list@inria.fr>
Subject: V.null in ocamlgraph
Date: Wed, 11 Mar 2009 17:09:59 -0400	[thread overview]
Message-ID: <A1490299-93CA-4AB9-9AE1-9DC60A02D5AA@gmail.com> (raw)

In some folds over data when creating ocmalgraph's, I'd need an empty  
vertex value, something like V.null, to give to an edge-creating fold  
when I know it's not going to be used.  Currently I have to look ahead  
into the data.  Does it make sense to add a null value to the V  
module, or is there another OCaml way to give a fold an empty V value?

Cheers,
Alexy


             reply	other threads:[~2009-03-11 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 21:09 Alexy Khrabrov [this message]
2009-03-12 14:41 ` [Caml-list] " Jean-Christophe Filliatre

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=A1490299-93CA-4AB9-9AE1-9DC60A02D5AA@gmail.com \
    --to=deliverable@gmail.com \
    --cc=caml-list@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).