From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 6374E7EE49 for ; Mon, 16 Sep 2013 00:29:43 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of martindemello@gmail.com) identity=pra; client-ip=209.85.220.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of martindemello@gmail.com designates 209.85.220.171 as permitted sender) identity=mailfrom; client-ip=209.85.220.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vc0-f171.google.com) identity=helo; client-ip=209.85.220.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="postmaster@mail-vc0-f171.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwBAH00NlLRVdyrm2dsb2JhbABbhBHAbIEZCBYOAQEBAQEGCwsJFCEHgmwBGx4DEhBdAREBBQEiiAMBAw+ZE4MDjFGDB4NcChknDWSISQEFDJQMA4k4jkOQCxgphGwc X-IPAS-Result: AvwBAH00NlLRVdyrm2dsb2JhbABbhBHAbIEZCBYOAQEBAQEGCwsJFCEHgmwBGx4DEhBdAREBBQEiiAMBAw+ZE4MDjFGDB4NcChknDWSISQEFDJQMA4k4jkOQCxgphGwc X-IronPort-AV: E=Sophos;i="4.90,910,1371074400"; d="scan'208";a="26928660" Received: from mail-vc0-f171.google.com ([209.85.220.171]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 16 Sep 2013 00:29:26 +0200 Received: by mail-vc0-f171.google.com with SMTP id ij15so2378045vcb.16 for ; Sun, 15 Sep 2013 15:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=oV69q2riowV4FTA3VYsxe7gFrHDMCwFG2nXtuDpMJFU=; b=IgbCvEbcuHD/QY/gLGsmTGVoHA2w2jKgYehTszYxCvxsd5t8XraWqpCaPEeIVEwoua ZSVd/9SNx8WwMlapF8KOvjn6TGG2JvRn3Loaf6LXNgmJmN+6Du1Ha+cGMFWg0m0ktiZ8 hM3rs81/MAGsUucXuzH5veAc7fEGQ4uRuuGGDjOlT/+/oZxi564Cw4VIT5BbzLdCmThe 6CkVFZ0Y2E2UZH0pH8hLXPXEp1UHLndtno3nkrEqqCau3IRsP2sIXBrl3X5OItHb9EWm RKDakVaGVPd85IUeijhGq5R9iOTkIT0DHO1wUiw3FNv0O2IxObIsIekTAXpbuid7QYG0 9dPQ== MIME-Version: 1.0 X-Received: by 10.58.108.74 with SMTP id hi10mr24307373veb.14.1379284165472; Sun, 15 Sep 2013 15:29:25 -0700 (PDT) Received: by 10.220.162.197 with HTTP; Sun, 15 Sep 2013 15:29:25 -0700 (PDT) Date: Sun, 15 Sep 2013 15:29:25 -0700 Message-ID: From: Martin DeMello To: "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] "subclassing" a char map I have a char multiset defined via module MultiSet = Map.Make(struct type t = char let compare = compare end) Now I would like to split off a distinct type that can only contain A-Z as keys. What's the best way to do this? martin