From: Bob Zhang <bobzhang1988@gmail.com>
To: Caml List <caml-list@inria.fr>
Cc: 张宏波 <bobzhang1988@gmail.com>
Subject: [Caml-list] How to print copyright headers properly in ppx
Date: Sun, 24 Jan 2016 15:04:59 -0500 [thread overview]
Message-ID: <CANcqPu4KG+z6_+uMBodvgaBSCm_DrU7d_2kkrhMODRiZB5w18Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
Dear OCaml developers,
Recently I found it was really neat to distribute your software (mostly
binaries) in a single `.ml` file, easy to install(however fancy build
systems and pre-processors you use does not affect your clients) and
potentially better inlining.
The way I did is to use some internals from ocamldep to sort the list of
files and concatenate them. But there is an issue about copy right header,
since it is `comment`, I tried to use a named attribute node `ocaml.doc`,
it works, but its output is not pretty, any suggestions? (maybe we should
add a special attribute `ocaml.copyright`?)
--
Regards
-- Hongbo Zhang
[-- Attachment #2: Type: text/html, Size: 744 bytes --]
reply other threads:[~2016-01-24 20:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CANcqPu4KG+z6_+uMBodvgaBSCm_DrU7d_2kkrhMODRiZB5w18Q@mail.gmail.com \
--to=bobzhang1988@gmail.com \
--cc=caml-list@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