Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: blue storm <bluestorm.dylc@gmail.com>
Cc: Alexander Voinov <avoinov@gmail.com>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] A syntax extension to simplify List manipulation
Date: Mon, 25 Jan 2010 18:42:38 +0100	[thread overview]
Message-ID: <EE2570EB-ECDF-4E22-8554-B84827173C2A@inria.fr> (raw)
In-Reply-To: <527cf6bc1001170024r1e74b0dal38c92924037f2788@mail.gmail.com>


On 2010-01-17, at 09:24, blue storm wrote:

> 2) The use of the Extlib module is hardcoded in the syntax extension.
> I would find it nicer if you only referred to "List.map" instead of
> "Extlib.List.map", and let the user "open Extlib" if he wants to
> override the stdlib. That would allow one to use other implementations
> of List.


You can do this if you want to use the stdlib instead of extlib:

     module Extlib = struct module List = List end;;

Rather ugly, but it should work...

-- Damien


  reply	other threads:[~2010-01-25 17:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16 22:33 Configuring emacs to work with caml C. Fr
2010-01-16 23:21 ` A syntax extension to simplify List manipulation Alexander Voinov
2010-01-17  8:24   ` [Caml-list] " blue storm
2010-01-25 17:42     ` Damien Doligez [this message]
2010-01-25 21:45       ` Alexander Voinov
2010-01-25 22:32         ` blue storm
2010-01-26  0:14           ` Alexander Voinov
2010-01-26  0:39             ` blue storm

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=EE2570EB-ECDF-4E22-8554-B84827173C2A@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=avoinov@gmail.com \
    --cc=bluestorm.dylc@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