From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id B58F2BBAF for ; Wed, 11 Mar 2009 22:10:09 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqABAEvFt0mBqgUYkWdsb2JhbACNBogpAQEBAQkLCgcRBatSkHuEDQY X-IronPort-AV: E=Sophos;i="4.38,345,1233529200"; d="scan'208";a="24196178" Received: from mailhub24.dartmouth.edu ([129.170.5.24]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Mar 2009 22:10:09 +0100 Received: from [10.99.6.210] (De-Divinatione.Kiewit.Dartmouth.EDU [10.99.6.210]) (authenticated bits=0) by mailhub24.dartmouth.edu (8.13.5/DND2.0/8.13.5) with ESMTP id n2BL9xKA025248 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 11 Mar 2009 17:09:59 -0400 Message-Id: From: Alexy Khrabrov To: OCaml Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: V.null in ocamlgraph Date: Wed, 11 Mar 2009 17:09:59 -0400 X-Mailer: Apple Mail (2.930.3) X-Dartmouth.EDU-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n2BL9xKA025248 X-MailScanner: Found to be clean by mailhub21.dartmouth.edu X-MailScanner-From: deliverable@gmail.com X-Spam: no; 0.00; ocaml:01 cheers:01 data:02 data:02 module:03 vertex:05 null:05 null:05 i'd:06 fold:06 fold:06 sense:10 some:14 add:14 does:14 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