Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: whitequark <whitequark@whitequark.org>
To: "François Pottier" <francois.pottier@inria.fr>
Cc: "Emilio Jesús Gallego Arias" <e@x80.org>,
	Drup <drupyog+caml@zoho.com>,
	caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] visitors
Date: Wed, 01 Feb 2017 23:49:30 +0000	[thread overview]
Message-ID: <4e877279fa0df8e6a2e9b245c3da5663@whitequark.org> (raw)
In-Reply-To: <258ebe4c-3a68-41a8-829a-f73f88704e03@inria.fr>

On 2017-02-01 16:48, François Pottier wrote:
> On 01/02/2017 16:50, Emilio Jesús Gallego Arias wrote:
>> whitequark of course will know the exact details, but indeed 
>> ppx_import
>> seems capable to work in your use case, see:
>> https://github.com/ejgallego/coq-serapi/blob/master/serlib/ser_constrexpr.ml#L49
> 
> Thanks Emilio. This works indeed, but you have to write one line for
> every type that you want to import. When you have 86 mutually
> recursive
> types, that seems silly :-)

Unfortunately Emilio has the shortest implementation that's possible 
right now.
I think this would be a fairly straightforward addition to ppx_import.

-- 
whitequark

  reply	other threads:[~2017-02-01 23:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-27 17:56 François Pottier
     [not found] ` <fc83f6ab-90a1-8ac1-7585-a15fb7fe89bd@zoho.com>
2017-01-30 16:04   ` François Pottier
2017-01-30 16:18     ` François Pottier
2017-01-31  9:30     ` whitequark
2017-01-31 10:26       ` François Pottier
2017-01-31 21:02         ` whitequark
2017-01-31 12:46       ` François Pottier
2017-02-01 15:50         ` Emilio Jesús Gallego Arias
2017-02-01 16:48           ` François Pottier
2017-02-01 23:49             ` whitequark [this message]
2017-02-02  0:46               ` Emilio Jesús Gallego Arias
2017-03-16 11:12                 ` Kakadu
2017-03-16 15:33                   ` whitequark

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=4e877279fa0df8e6a2e9b245c3da5663@whitequark.org \
    --to=whitequark@whitequark.org \
    --cc=caml-list@inria.fr \
    --cc=drupyog+caml@zoho.com \
    --cc=e@x80.org \
    --cc=francois.pottier@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