From: "Alexander Voinov" <avoinov@gmail.com>
To: "'Damien Doligez'" <damien.doligez@inria.fr>,
"'blue storm'" <bluestorm.dylc@gmail.com>
Cc: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] A syntax extension to simplify List manipulation
Date: Mon, 25 Jan 2010 13:45:41 -0800 [thread overview]
Message-ID: <005b01ca9e07$c254d6a0$46fe83e0$@com> (raw)
In-Reply-To: <EE2570EB-ECDF-4E22-8554-B84827173C2A@inria.fr>
Hi All,
I've updated this extension to remove the dependency on ExtLib (as suggested
previously). The price is that iteratei is not available with the core List
module.
If you do need iteratei, first uncomment the
# WITH_ITERATEI = 1
line in the Makefile (and do a fresh build), and, second, always
open ExtLib;;
The tarball is: http://www.voinov.org/FP/spbSyntax-1.0.1.tgz
(and also http://www.voinov.org/FP/spbSyntax.tgz)
Regarding camlp4, I don't remember why this extension didn't work with it
after that big refactoring, which gave birth to camlp5. I'm making a TODO
for myself to take a look at this.
Thank you!
Alexander
-----Original Message-----
From: Damien Doligez [mailto:damien.doligez@inria.fr]
Sent: Monday, January 25, 2010 9:43 AM
To: blue storm
Cc: Alexander Voinov; caml-list@yquem.inria.fr
Subject: Re: [Caml-list] A syntax extension to simplify List manipulation
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
next prev parent reply other threads:[~2010-01-25 21:46 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
2010-01-25 21:45 ` Alexander Voinov [this message]
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='005b01ca9e07$c254d6a0$46fe83e0$@com' \
--to=avoinov@gmail.com \
--cc=bluestorm.dylc@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=damien.doligez@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