* [Caml-list] How to print copyright headers properly in ppx
@ 2016-01-24 20:04 Bob Zhang
0 siblings, 0 replies; only message in thread
From: Bob Zhang @ 2016-01-24 20:04 UTC (permalink / raw)
To: Caml List; +Cc: 张宏波
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-24 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-24 20:04 [Caml-list] How to print copyright headers properly in ppx Bob Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox