On Mon, 2009-03-16 at 12:01 -0500, aditya siram wrote:
Thanks for this awesome video! I was unaware that the Caml compiler
did not optimize source code before generating native code. Now I am a
little less afraid to study the actual compiler!
Your point about a lack of GUI libraries is
Hello,
I have used pxp to parse xml and I am happy with it. I'd like now to produce
xml and wonder what are the options to do so (possibly the simpliest).
I think I am going to start with the Printf module. I wonder how well it
handles utf8 for example. And I'll have to write a kind of
Am Dienstag, den 17.03.2009, 12:01 +0100 schrieb Rémi Dewitte:
Hello,
I have used pxp to parse xml and I am happy with it. I'd like now to
produce xml and wonder what are the options to do so (possibly the
simpliest).
Maybe not the simplest: Use the PXP preprocessor to create the output
Do the polymorphic ordering functions -- (), (), etc. -- correspond
to the numerical ordering for Int64s and Int32s? I assume so, but I
didn't see this specified anywhere.
If the answer is 'yes', is there a reason I should prefer
Int64.compare n1 n2 0
to
n1 n2
? If there's no specific
Yet another solution is Xmlm by Daniel Bünzli.
http://erratique.ch/software/xmlm
This is probably the easiest and lightweight solution: Xmlm comes as a single
module and its interface, and it's BSD so you can just copy/paste it into your
project.
Cheers,
Matthieu
- Message d'origine
Taken from Int64.ml:
let compare (x: t) (y: t) = Pervasives.compare x y
compare seems to be there for functor applications (e.g. Set.Make
needs it). I would use standard comparison; it should be exactly the
same except it will be more legible and might be a tad faster.
Till
On Tue, Mar 17,
Le mardi 17 mars 2009 à 08:51 -0400, Elnatan Reisner a écrit :
Do the polymorphic ordering functions -- (), (), etc. -- correspond
to the numerical ordering for Int64s and Int32s? I assume so, but I
didn't see this specified anywhere.
Yes, int64s and int32s are represented in memory by
On Tue, Mar 17, 2009 at 9:56 AM, Markus Mottl markus.mo...@gmail.comwrote:
2009/3/16 Yaron Minsky ymin...@gmail.com:
I would humbly propose that this thread has now gotten deeply off-topic,
and
perhaps discussion on the list should turn back to programming languages,
rather than to deep
Hi Markus,
I agree that, empirically, market-based mechanisms tend to be the
socially optimal solution to most real-world resource allocation
problems. However, this isn't really what is demonstrated in most
introductory microeconomics textbooks, which focus on the analysis of
systems in
How do I fix this?
Thanks, Joel
---
+ ocamlfind ocamlopt -package 'extlib, dynlink, camlp4.lib' -linkpkg -
g src/easy_ast.cmx src/easy_lexer.cmx src/token.cmx src/static1.cmx
src/easy_parser.cmx src/easy_symtab.cmx src/easy_typer.cmx src/
ninja_ast.cmx src/ninja_morpher.cmx
On Tuesday 17 March 2009 18:10:49 Joel Reymont wrote:
How do I fix this?
Are you on OCaml 3.11?
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
___
Caml-list mailing list. Subscription management:
[This is supposed to be the shortest question to the list so far;
parts in brackets don't count! :)]
ocamlfind ocamlopt.opt # how? [move away non.opt and ln -s x.opt x ?
prettier? :)]
Cheers,
Alexy
___
Caml-list mailing list. Subscription
Joel Reymont wrote:
ocaml -version
The Objective Caml toplevel, version 3.12.0+dev2 (2009-01-25)
Do you mean to recompile them with 3.11?
I think the problem is in a META file, which lacks a dependency.
Dynlink must be loaded by the camlp4 lib since 3.11.
I think Gerd fixed it in the latest
On 17-03-2009, Alexy Khrabrov delivera...@gmail.com wrote:
[This is supposed to be the shortest question to the list so far;
parts in brackets don't count! :)]
ocamlfind ocamlopt.opt # how? [move away non.opt and ln -s x.opt x ?
prettier? :)]
Of course, there is prettier solution. Use a
On Mar 17, 2009, at 6:13 PM, Sylvain Le Gall wrote:
I think you can also directly fix it through /etc/ocamlfind.conf or
any
other configuration file installed by ocamlfind.
Duh -- my GODI has etc/findlib.conf doing it, and it shows
destdir=/opt/ocaml/lib/ocaml/site-lib
15 matches
Mail list logo