hello! i'd like to write several ocamllex filters that work in a pipe. In natural language processing it's a common solution to write more flex filters, or sed...
Hi ! Sometimes it is maybe useful to do this : let swap_parameters f x y = f y x But what could be a good choice for an operator name ? (|<->) ? Maybe...
On Sep 1, 2007, at 5:17 PM, Fabrice Marchant ... Haskell just calls this function 'flip' in its prelude. I find that to be a good name. William D. Neumann...
On Sun, 2 Sep 2007 02:12:53 -0500 ... Thanks a lot William ! So, if Haskell hasn't used any operator, probably we do not need too. All right for 'flip' : far...
... Hello, The following text is stolen from F# manual pages (http://research.microsoft.com/fsharp/manual/quicktour.aspx). Hoping this will help? Salutations ...
Hi ! Using J.C. Filliâtre Hashset - an adapted version from Hashtbl -, my program output is correct. I was surprised to discover that the "equal" compare...
On Sun, 02 Sep 2007 12:23:30 +0200 ... Thanks a lot Matt for (>>) operator name and definition ! MS speaks about many examples : I do not see anything about...
Hi, I am working with an object : class state_view = object val mutable expanded : bool = true; val mutable links_opt : (string * int) list option = None; val...
... -> this is almost the same as : match links_sort_fun with x -> ... ... (except you should substitute references to sort_by_count/ sort_by_feature with x/y)...
Hi, There are several issues: ... intervals product. ... explained, ... I tried. ... * First, a more generic implementation (you can specify both lower ... ...
Zheng Li
li@...
Sep 5, 2007 1:21 pm
8602
... Will this help: [pid 29893] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b0a3d099000 [pid 29893] read(4,...
Johann Spies
jspies@...
Sep 5, 2007 1:43 pm
8603
Dear OCaml users, I have been using the PG'OCaml library for some time now, and I have written some notes that document various aspects of the library. Judging...
... Hash: SHA1 If you like matches you can use a guard to get the same effect. Eg. match links_sort_fun with ... Peng ... Version: GnuPG v2.0.2 (GNU/Linux) ...
Peng Zang
peng.zang@...
Sep 5, 2007 4:00 pm
8605
... That's the error ... If you run strace with the `-s' option you'll be able to see more of it. Rich. -- Richard Jones Red Hat...
... Thanks. I am learning... But: I can use psql with the same environmental variables ( psql -h $PGHOST -d $PGDATABASE -U $PGUSER -p $PGPORT --password) and...
Johann Spies
jspies@...
Sep 6, 2007 9:39 am
8607
... I've no idea, but I guess the error message will tell you. Rich. -- Richard Jones Red Hat...
Hi all - When I create a custom OCaml toplevel, a message prints out: Objective Caml version 3.09.3 Is there any way to suppress this? I'd like to replace it...
... Thanks for your trouble. My preference was to use your library, but I have wasted several hours now to get it working. I do not understand the logic...
Johann Spies
jspies@...
Sep 7, 2007 8:40 am
8611
Hi, I came across a little mystery about comparing arrays of different length: # compare [ 1; 2 ] [ 2 ];; - : int = -1 # compare "12" "2";; - : int = -1 #...
Hi, I have a doubt about the general status of thread-safety among OCaml libraries. Some libraries will explicitly state whether or not they can be used...
Hi, ... Well, don't give up so easily. We're here to help... ... The logic is simple: if the database we not known at compile-time, how could PG'OCaml...
I'm not finding the documentation in the manual for the 'Arg' module to be very intuitive. I suppose I could spend an hour or two experimenting, but if anyone...
Grant Olson
olsongt@...
Sep 8, 2007 10:57 pm
8615
Hi ! There are many things. Some of them : http://pauillac.inria.fr/~quercia/ (Julia, Hamming, parallele) ...
Hello Compiling this code: ... let status = Graphics.wait_next_event [Graphics.Poll] in if status.button or status.keypressed then exit 0; ... I get the...
Hello I want to save the current Graphics buffer as a PNG-Image. With this code: let img = Graphic_image.get_image 0 0 width height in Images.save "image.png"...