Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-12-09 Thread Maxence Guesdon
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

Re: [Caml-list] Re: Create a constraint between variant type and data list

2010-09-17 Thread Maxence Guesdon
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

Re: [Caml-list] The fate of OCaml-RSS

2010-09-05 Thread Maxence Guesdon
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

Re: [Caml-list] Create a constraint between variant type and data list

2010-09-03 Thread Maxence Guesdon
; 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 _

Re: [Caml-list] Re: Please provide at least one page for your ocaml projects

2010-08-25 Thread 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

[Caml-list] Please provide at least one page for your ocaml projects

2010-08-25 Thread Maxence Guesdon
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

Re: [Caml-list] Ocamldoc and Unicode characters

2010-06-03 Thread Maxence Guesdon
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

Re: [Caml-list] Ocamldoc and Unicode characters

2010-06-03 Thread Maxence Guesdon
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

Re: [Caml-list] Ocamldoc and Unicode characters

2010-06-03 Thread Maxence Guesdon
; 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

Re: [Caml-list] OCaml defunctorization and other optimizations

2010-05-20 Thread Maxence Guesdon
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/ __

Re: [Caml-list] graph of function dependances

2010-02-23 Thread Maxence Guesdon
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

Re: [Caml-list] Favorite OCaml editor?

2010-01-05 Thread Maxence Guesdon
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

Re: [Caml-list] Favorite OCaml editor?

2010-01-05 Thread Maxence Guesdon
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

Re: [Caml-list] OCamlBuild + OCamlDoc is slooooow

2009-03-11 Thread Maxence Guesdon
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/

Re: [Caml-list] ocamldoc and module signature

2009-01-05 Thread Maxence Guesdon
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

Re: [Caml-list] Wanted: your feedback on the hierarchy of OCaml Batteries Included

2008-11-19 Thread Maxence Guesdon
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

[Caml-list] Re: What does Jane Street use/want for an IDE? What about you?

2008-10-27 Thread Maxence Guesdon
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

Re: [Caml-list] What does Jane Street use/want for an IDE? What about you?

2008-10-24 Thread Maxence Guesdon
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

Re: [Caml-list] What does Jane Street use/want for an IDE? What about you?

2008-10-20 Thread Maxence Guesdon
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

Re: [Caml-list] File inclusion with Ocamldoc

2008-10-14 Thread Maxence Guesdon
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

Re: [Caml-list] Extending .annot files

2008-09-21 Thread Maxence Guesdon
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

Re: [Caml-list] Mailing list archive for August

2008-09-08 Thread 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

Re: [Caml-list] Two questions on OCamlDoc

2008-09-05 Thread Maxence Guesdon
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

Re: [Caml-list] Two questions on OCamlDoc

2008-09-05 Thread Maxence Guesdon
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

Re: [Caml-list] Two questions on OCamlDoc

2008-09-05 Thread Maxence Guesdon
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

Re: [Caml-list] Another question on OcamlDoc

2008-09-02 Thread Maxence Guesdon
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

Re: [Caml-list] Two questions on OCamlDoc

2008-09-02 Thread 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

Re: [Caml-list] Two questions on OCamlDoc

2008-09-02 Thread Maxence Guesdon
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

Re: [Caml-list] Mailing list archive for August

2008-09-02 Thread Maxence Guesdon
; 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

Re: [Caml-list] New Ocaml Plug-in for NetBeans

2008-09-01 Thread Maxence Guesdon
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

Re: [Caml-list] New Ocaml Plug-in for NetBeans

2008-08-21 Thread Maxence Guesdon
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

Re: [Caml-list] New Ocaml Plug-in for NetBeans

2008-08-21 Thread Maxence Guesdon
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

Re: [Caml-list] New Ocaml Plug-in for NetBeans

2008-08-19 Thread Maxence Guesdon
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

Re: [Caml-list] First release of Oug: reference graph from ocaml code

2008-06-10 Thread Maxence Guesdon
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

Re: [Caml-list] First release of Oug: reference graph from ocaml code

2008-06-09 Thread Maxence Guesdon
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

[Caml-list] First release of Oug: reference graph from ocaml code

2008-06-03 Thread Maxence Guesdon
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-

Re: [Caml-list] location of HDCaml

2008-06-03 Thread Maxence Guesdon
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

Re: [Caml-list] Documenting submodules ?

2008-05-05 Thread Maxence Guesdon
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&#

Re: [Caml-list] Documenting submodules ?

2008-05-05 Thread Maxence Guesdon
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

Re: [Caml-list] Should a /\ operator be possible?

2008-05-04 Thread Maxence Guesdon
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