Search the web
Sign In
New User? Sign Up
ocaml_beginners · Ocaml Beginners
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 10989 - 11018 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10989
... I already tried that. Doesn't help. ... No, it's OCaml's doing, although I am using the windoze shell. ruby -e "p ARGV" foo bar ["foo", "bar"] ruby -e "p...
Bill James
w_a_x_man
Offline Send Email
Apr 1, 2009
4:45 pm
10990
-[ Tue, Mar 31, 2009 at 09:10:56AM +0200, Christophe TROESTLER ]---- ... Yes, this is what I though. But apparently not for records : let rec x = { ... } ...
rixed@...
rixed
Offline Send Email
Apr 1, 2009
7:39 pm
10991
... That is incorrect. Here is a trivial counter example: # type t = {x: t};; type t = { x : t; } # let rec r = {x=r};; val r : t = {x = {x = However, the rhs...
Jon Harrop
jon@...
Send Email
Apr 1, 2009
8:07 pm
10992
For version 1.0.4 of ocaml-mysql, what version of Mysql are supported? I am running 5.0.38, and I get only "Client does not support authentication protocol...
Savanni D'Gerinel
savanninalkavir
Offline Send Email
Apr 2, 2009
5:22 am
10993
Hi all, I am completely new to OCaml, and mostly new to functional programming. To practice a bit while reading the literature I have been implementing some...
Daniel de Kok
me@...
Send Email
Apr 5, 2009
9:57 am
10994
Hello, I am trying to break the following circular reference: (A vertex contains a reference to edge, and an edge contains two reference to both ends) Vertex...
Mustafa Elsheikh
elsheikhmh
Offline Send Email
Apr 6, 2009
8:15 pm
10995
Hi all, I have a question about lazy infinite lists. I found http://c2.com/cgi/wiki?ExplicitLazyProgramming here an explanation of how can be done in OCaml....
citromatik
miguel.pignatelli@...
Send Email
Apr 7, 2009
7:26 am
10996
... I would use "type 'a lazy_list = Cons of 'a * 'a lazy_list Lazy.t | Nil" to have a type for lazy finite and infinite list. ... recent ocaml version...
remi.vanicat@...
dl_ens
Offline Send Email
Apr 7, 2009
9:01 am
10997
Hi, I'm trying to use gprof to diagnose some performance issues in a program of mine called binner. I used ocamlbuild to generate native code. The normal use...
David Koppstein
koppology
Offline Send Email
Apr 7, 2009
7:22 pm
10998
... The way to use gprof is to compile and link your code with profiling support (use the '-p' option of ocamlopt), then run the executable normally. Finally...
Toby Kelsey
toby.kelsey@...
Send Email
Apr 7, 2009
7:59 pm
10999
And I'm supposed to be using ocamlbuild name.p.native. Sorry for clogging the tubes...
David Koppstein
koppology
Offline Send Email
Apr 7, 2009
8:19 pm
11000
I reported the bug and the result is this http://caml.inria.fr/mantis/view.php?id=4754 . Thanks ... Da: remi.vanicat@... <remi.vanicat@...> ...
nicoletta triolo
nicolettatriolo
Offline Send Email
Apr 8, 2009
9:19 am
11001
On parameter declarations, there are two forms: let log_table : Cycling.t list -> xml = fun entries -> <function text> vs. let log_table = fun...
Savanni D'Gerinel
savanninalkavir
Offline Send Email
Apr 9, 2009
4:11 pm
11002
Le jeu 09 avr 2009 11:11:42 CEST, ... You can use this syntax: let display_log ?(message: string option) (db:dbh): xml = <function text> but usually, you can...
Virgile Prevosto
virgilepr
Offline Send Email
Apr 9, 2009
4:29 pm
11003
... Ah, thanks! ... True, but me being who I am, I often find it useful to nail my functions to a particular type. That way I am telling the complier exactly...
Savanni D'Gerinel
savanninalkavir
Offline Send Email
Apr 9, 2009
6:18 pm
11004
... I am still interested in hearing whether this is possible. In the meanwhile I have resorted to a bit more imperative solution. The matrix ... let...
Daniel de Kok
me@...
Send Email
Apr 10, 2009
9:29 am
11005
The following does not type check: let pair_op (f:'a->'a->'a) ((int1:int),(float1:float)) ((int2:int),(float2:float)) = (f int1 int2),(f float1 float2) let...
Dmitry Bely
dmbely
Online Now Send Email
Apr 10, 2009
3:00 pm
11006
No, you have to pack it into a record {f : 'a.'a->'a->'a} and unpack it twice: let pair_op op .... = op.f int1 int2, op.f float1 float2...
Lukasz Stafiniak
luk_stafi
Offline Send Email
Apr 10, 2009
3:16 pm
11007
To make the cell type polymorphic, you could also pass in a default value: let init_matrix r c default f = let m = Array.init r (fun x -> Array.make c default)...
Ashish Agarwal
ashish_a1975
Offline Send Email
Apr 10, 2009
5:04 pm
11008
Hi all, Does anybody know of any high-performance http://en.wikipedia.org/wiki/Suffix_tree suffix tree implementation in OCaml? Naive implementations are also...
citromatik
miguel.pignatelli@...
Send Email
Apr 16, 2009
4:27 pm
11009
... Hash: SHA1 First google hit =] http://alan.petitepomme.net/cwn/2007.09.04.html Peng ... Version: GnuPG v2.0.7 (GNU/Linux) ...
Peng Zang
peng.zang@...
Send Email
Apr 16, 2009
4:34 pm
11010
... Yes, I have already checked that before. This implementation relies on several other modules from the author and is a bit complicated to follow it. That is...
citromatik
miguel.pignatelli@...
Send Email
Apr 16, 2009
7:45 pm
11011
... Don't know if this is of any help: Efficient Implementation of Lazy Suffix Trees http://www.zbh.uni-hamburg.de/pubs/pdf/GieKurSto1999.pdf Don't think it...
Hugo Ferreira
hugotwo3
Offline Send Email
Apr 17, 2009
8:55 am
11012
On Wed, 01 Apr 2009 16:44:26 -0000 ... Yes, it is OCaml, in windows builds only, see caml_expand_command_line. Probably the reason for such behavior is that...
ygrek
ygrekheretix
Offline Send Email
Apr 18, 2009
6:03 am
11013
Hi, I have a 64-bit Ocaml 3.11.0 installation for Mac OS X, which I compiled from source and configured using ./configure -cc "gcc -m64" I'm trying to install...
David Koppstein
koppology
Offline Send Email
Apr 20, 2009
6:51 pm
11014
... BTW, why does OCamlMakefile not default to using ocamlc for C-compiling? I mean it would ensure the C compiler is always called with the ocaml-compatible...
Gerd Stolpmann
g_stolpmann
Offline Send Email
Apr 20, 2009
7:34 pm
11015
... Thanks for the tip. This worked. It actually also solved a related problem I'd been having, which was that PCRE was giving strange compatibility errors --...
David Koppstein
koppology
Offline Send Email
Apr 21, 2009
12:18 am
11016
... Jean-Christophe Filliatre has a generic implementation that can be instantiated with different kinds of dictionary, IIRC. I played with it a few years ago...
Jon Harrop
jon@...
Send Email
Apr 21, 2009
12:46 am
11017
... Hi Daniel, Apologies for the slow response. I would not recommend phrasing this as a matrix initialization because it requires a specific ordering. If you...
Jon Harrop
jon@...
Send Email
Apr 21, 2009
1:29 am
11018
Hi list what would be the easiest way to obtain a screenshot of an arbitrary X11 window (in linux) from an ocaml program ? I'm sure several libraries can do...
san.vungoc
Offline Send Email
Apr 21, 2009
12:41 pm
Messages 10989 - 11018 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help