caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jeremie Dimino <jdimino@janestreet.com>
To: Ashish Agarwal <agarwal1975@gmail.com>
Cc: octachron <octa@polychoron.fr>, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] how to apply an attribute on ppx output
Date: Wed, 25 Nov 2015 11:33:29 +0000	[thread overview]
Message-ID: <CANhEzE4dx_jDhQjB3_8uwwoWO22MWcb5tJxC5m0KL_o3kucVtA@mail.gmail.com> (raw)
In-Reply-To: <CAMu2m2LXY06MuO6UmjA2Cgi-YgCoLb3nT2Un9c28AiaytiChjQ@mail.gmail.com>

BTW, if you use ppx_driver, it will use the specific ppx_type_conv
backend which automatically prevents warning 32 on all values
generated by derivers:

$ ocamlfind ocamlopt -predicates ppx_driver -o ppx -linkpkg -package
ppx_fields_conv ppx_driver_runner.cmxa
$ ocamlfind ocamlc -pp ./ppx -package fieldslib -w A -c foo.mli
$ ocamlfind ocamlc -pp ./ppx -package fieldslib -w A -c foo.ml

On Tue, Nov 24, 2015 at 9:17 PM, Ashish Agarwal <agarwal1975@gmail.com> wrote:
> Thanks.
>
> On Tue, Nov 24, 2015 at 2:25 PM, octachron <octa@polychoron.fr> wrote:
>>
>>
>>> I think that's a typo in the manual: it should be [@@@warning "-32"]
>>> (with *three* at symbols).
>>> Regards,
>>> Leo
>>
>>
>> It is a typo in the manual – that have already been corrected in the dev
>> version of the manual.
>>
>> Regards,
>> octachron.
>>
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>



-- 
Jeremie

      reply	other threads:[~2015-11-25 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 18:52 Ashish Agarwal
2015-11-24 19:02 ` Leo White
2015-11-24 19:25   ` octachron
2015-11-24 21:17     ` Ashish Agarwal
2015-11-25 11:33       ` Jeremie Dimino [this message]

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=CANhEzE4dx_jDhQjB3_8uwwoWO22MWcb5tJxC5m0KL_o3kucVtA@mail.gmail.com \
    --to=jdimino@janestreet.com \
    --cc=agarwal1975@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=octa@polychoron.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;
as well as URLs for NNTP newsgroup(s).