From: michael.le_barbier@laposte.net (Michaël Le Barbier)
To: ketti <kattlachan@gmail.com>
Cc: "ivan chollet" <ivan.chollet@laposte.net>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] requests for improvement
Date: Mon, 21 Jan 2008 10:05:41 +0100 [thread overview]
Message-ID: <86k5m3sg4a.fsf@Llea.celt.neu> (raw)
In-Reply-To: <6ebe51ce0801200943r6fc405bek2b2588087da1a667@mail.gmail.com> (ketti's message of "Sun\, 20 Jan 2008 18\:43\:36 +0100")
ketti <kattlachan@gmail.com> writes:
> Hi,
>
> 2008/1/20 ivan chollet <ivan.chollet@laposte.net>:
>> - Any plans about giving the possibility to spread the definition
>> across more than one source file. Sometimes modules are more than 300 lines,
>> so I would like to be able to split it over two or more files. Currently
>> there is a one-to-one relationship between files and modules. As far as I
>> know, OCaml is the only language to have such a particular constraint.
>
> I think this is a non issue.
> Just split it in several modules and use 'include' to bring it all
> together. Is that any different from what you want?
If you insist on splitting source code, recombination is
straightforwardly done thanks to make(1).
Example:
module.ml: module.1.ml module.2.ml
cat ${.ALLSRC} > ${.TARGET}
(For BSD Make)
--
Michaël LB
next prev parent reply other threads:[~2008-01-21 10:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 17:10 ivan chollet
2008-01-20 17:31 ` [Caml-list] " Oliver Bandel
2008-01-20 17:43 ` ketti
2008-01-21 9:05 ` Michaël Le Barbier [this message]
2008-01-22 19:44 ` Richard Jones
2008-01-23 17:07 ` Hezekiah M. Carty
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=86k5m3sg4a.fsf@Llea.celt.neu \
--to=michael.le_barbier@laposte.net \
--cc=caml-list@yquem.inria.fr \
--cc=ivan.chollet@laposte.net \
--cc=kattlachan@gmail.com \
/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