Le Mon, 29 Nov 2010 19:32:13 +0530,
Martin DeMello a écrit :
> On Mon, Nov 29, 2010 at 3:50 AM, Adrien wrote:
> >
> > Something nice would probably be to share more extensions and
> > wrappers around lablgtk. I've noticed Maxence Guesdon had made some
> > availa
On Fri, 3 Sep 2010 21:28:24 + (UTC)
Sylvain Le Gall wrote:
> On 03-09-2010, bluestorm wrote:
> > Hi,
> >
> > Finally, I have a third solution based on code generation : given my
> > first solution (turning the association list into a function), what
> > you need is only a list of all the con
gt;
It was included in Cameleon2 a long time ago:
http://home.gna.org/cameleon/rss.en.html
I recently destroyed the project on savannah to make things clearer.
Thanks to your message, I updated the hump.
Regards,
--
Maxence Guesdon
___
Caml-list mai
; variant, please do so, as long as I am able to link the license type
> and data list.
A solution is to add your new license to your list of associations, then
the compiler will complain about the unknown variant :)
Regards,
--
Maxence Guesdon
_
On Wed, 25 Aug 2010 15:46:08 + (UTC)
Sylvain Le Gall wrote:
> Hello,
>
> On 25-08-2010, Maxence Guesdon wrote:
> >
> > For this reason, I have a look at every project announced on the caml-list
> > and it seems to me that there are more and more projects
e one.
Regards,
--
Maxence Guesdon
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginne
Le Thu, 3 Jun 2010 16:18:43 +0200,
Daniel Bünzli a écrit :
> > I see two easy solutions:
>
> [...]
>
> Sure they are easy but they significantly complicate one's build
> system for very little.
>
> A command line switch for this in ocamldoc would be nice and forward
> looking (since the rest o
On Thu, 3 Jun 2010 15:27:51 +0200
Maxence Guesdon wrote:
>
> Somehting like the following code should to the trick:
> class my_doc_gen =
> object
I forgot:
inherit Odoc_html.html
...
Regards,
--
Maxence Guesdon http://yquem.inria.fr/~gues
;
Somehting like the following code should to the trick:
class my_doc_gen =
object
initializer
character_encoding <-
"\n"
end
let my_generator = new my_doc_gen
let _ = Odoc_args.set_doc_generator (my_generator :> Odoc_args.doc_generator)
(code not tested)
Hope
tp://home.gna.org/oug/index.en.html
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://sed-roc.inria.fr/
INRIA Paris-Rocquencourt http://www.inria.fr/rocquencourt/
__
1
>
>
> > let h x y = g x + (f x)
>
>
> should displayed that h relies on f and g definition.
>
> Maybe this not a pure ocaml-related question (more general) but i would need
> such a tool for my ocaml sources.
Oug seems to do what you need (and much more):
htt
Le Tue, 5 Jan 2010 11:23:53 +,
Jon Harrop a écrit :
> On Tuesday 05 January 2010 08:45:04 Maxence Guesdon wrote:
> > My favorite editor is Chamo:
> > http://home.gna.org/cameleon/chamo.en.html
>
> Nice! Why do you prefer it?
>
1. It is written in OCaml and I
favorite editor is Chamo:
http://home.gna.org/cameleon/chamo.en.html
Regards,
--
Maxence Guesdon
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria
computation to an
acceptable duration.
Regards,
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt http://www.inria.fr/rocquencourt/
t; =
> struct
> let l = []
> end
>
> The HTML documentation generated from the following call
>
> ocamldoc -html a.ml
>
> will describe A.M.l as a 'a list, while it's been constrained to int list by
> the signature. Is this the expected beha
o use fields and
constructors, so using Data.Containers.List.length or whatever is longer
than "List.length" is not an option. Having a shortcut "List" for
Data.Containers.List does not convince me, because the problem will remain
with modules with no shor
problem
> > for the packagers to have ocamlwizard compiled using the sources of ocaml
> > used for the ocaml package.
>
> > Regards,
>
> > --
> > Maxence Guesdon http://yquem.inria.fr/~guesdon/
> > Service Expérimentatio
l developers, aren't they ?
For users of pre-compiled packages (debian, etc.), this is not a problem
for the packagers to have ocamlwizard compiled using the sources of ocaml
used for the ocaml package.
Regards,
--
Maxence Guesdon htt
e. I use Chamo as
editor for all text files now (including ocaml code of course).
Regards,
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt http://www.inria.f
ithout (** *)) in a file.txt file and pass it to ocamldoc like any
.ml or .mli file. This will be considered as a File module and you can
refer to it by {!File} from any ocamldoc comment.
Example:
cat > file.txt
This is the {!File} file.
ocamldoc -html file.txt
Hope this helps,
Maxenc
variable definitions
> with their range of scope might be cute. Maybe other people can think
> of more original ideas.
A module containing the functions to read .annot files, so that
all developers using these files do not develop their own module.
Regards,
--
Maxence Guesdon
On Wed, 3 Sep 2008 09:17:17 +1000
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
> Maxence Guesdon wrote:
>
> > Erik de Castro Lopo wrote:
> >
> > > I was browsing the Ocaml mailing list archive when I noticed that
> > > the archive for August was miss
isible to Odoc_cross
> or Odoc_analyse?
Indeed, the structure of the .ml file is lost after merging .ml and .mli.
You have to reanalyse the .ml.
Regards,
Maxence
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://deve
n module -- even if there
> is a .mli -- as this will change the resulting structure.
>
> Is there a way to do such a thing?
You may use ocamldoc on your .ml file and look if it contains a
Element_included_module refering to some given module.
Does it help ?
Rega
On Fri, 05 Sep 2008 12:25:03 +0200
David Teller <[EMAIL PROTECTED]> wrote:
> Okay, I've found the solution to most of my problems, thanks to Maxence.
> The code will be committed soon to the Batteries repository if anyone is
> interested.
>
> I have one more question, though: assuming that I have
ode into a simple case to post it here later.]
>
>- how can I tell OcamlDoc to run a preprocessor on the file first?
> (I am using ocaml+twt)
Use the -pp option of ocamldoc, which works the same way as for ocamlc.
Regards,
Maxence
--
Maxence Guesdon
.t], etc?
Maybe raw string substitution ?
Hacking in the internal representation of types to change their names way
work but it's currently out of my abilities.
Regards,
Maxence
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développem
o override the method html_of_module_element so that,
when you encounter a Element_included_module, you search the real module by
its name and print its elements instead of just "include ...".
Does this help ?
Regards,
Maxence
--
M
; Is that intentional or is something messed up?
Sorry for the late answer. This should be fixed now.
Regards,
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt
indicated in the .annot file, than
it is displayed, else no indication is displayed. If the source file has
been modified after the .annot file was created, then a message indicate
that the current .annot file is obsolete and must be updated by compiling
again. This is the same behavi
ndeed. By the way, I'm not a big fan of completion, I prefer to use/train
my memory :-)
Maxence
--
Maxence Guesdon http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
IN
On Wed, 20 Aug 2008 15:38:55 +0100
Richard Jones <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 08:29:21AM +0200, Maxence Guesdon wrote:
> > So I already use Chamo for my daily work (development, edition of text
> > files). What's missing now is access to more in
sults of these tools and Makefile targets
to produce them (that the way ocamldoc is used in Cameleon for browsing
documentation)
Regards,
Maxence
[1] http://home.gna.org/cameleon/chamo.en.html
[2] http://home.gna.org/cameleon/snippets.en.html
[3] http://osp.janestcapital.com/files/ocamlwizard.pdf
oughly to see if this can be patched.
>
> Is there a plan to deliver a portable version of the tool?
Not from me, but I can integrate another contributed configuration script.
Regards,
Maxence Guesdon
___
Caml-list mailing list. Subscription mana
that responds to this requirement?
In fact it corresponds to the trunk in the CVS repository, where the future
3.11 version is developped. So it is accessible as told on
http://camlcvs.inria.fr/cvsserver-eng.html
using "ocaml" as dirname.
Regards,
Maxence Guesdon
--
Maxence Guesdo
quot;dead code" dump always
consider that every method is referenced.
The homepage is here:
http://pauillac.inria.fr/~guesdon/oug.en.html
Regards,
Maxence Guesdon
___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-
On Tue, 03 Jun 2008 18:06:35 +0200
Florian Hars <[EMAIL PROTECTED]> wrote:
> Oliver Bandel schrieb:
> > ...but where is HDCaml now?
>
> Where the hump says it is. You must have been the victim of a temporary
> network anomaly.
No, Oliver sent me the new url and I updated the hump ;)
Regards,
M
On Mon, 05 May 2008 11:12:05 +0200
David Teller <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-05-05 at 10:35 +0200, Maxence Guesdon wrote:
> > Indeed, ocamldoc does not use the comment of sub.ml in the page generated
> > for main.ml. This is normal behaviour.
>
> I
On Mon, 05 May 2008 10:22:50 +0200
David Teller <[EMAIL PROTECTED]> wrote:
> Let me rephrase:
>
> Case 1)
>
> sub.ml
> (** This is [Sub] *)
>
> type t
> (** This is [Sub.t]*)
>
> main.ml
> module Sub = Sub
>
> Running ocamldoc drops the comments of sub.ml .
Indeed, ocamldoc does n
On Fri, 2 May 2008 13:54:37 +0200
Daniel Bünzli <[EMAIL PROTECTED]> wrote:
>
> The unicode standard dicusses a syntax for identifiers here [1]. Note
> that determining if two identifiers are equal needs to invoke the
> unicode normalization machinery, it is not just a matter of knowing
> wh
40 matches
Mail list logo