Dear bactrians, I am looking for an OCaml SOAP library. According to the Hump, there are three projects: a) SOSS (http://www.caterpillarjones.org/soss/) b)...
Hi, By the way, I mentioned SOAP because I couldn't find any special provisions for REST in OCaml. Though I reckon that REST is so simple is not really worth...
HI everyone. I'm new in Ocaml language, and I had tried to understand the following function, but Im not able. let op = function p->fst p (snd p);; If I put it...
Msam85
carloselcheca@...
Aug 2, 2007 11:21 pm
8385
... I know it's summer and all, but is this for a class? The function is pretty contrived. Where did you find it? I'll say that you're pretty close to...
... This is equivalent to: let op p = fst p (snd p) Pattern matching makes deconstruction faster and more readable, so it is even easier to write: let op (f,...
I noticed that OCaml has a function keyword, but none of the tutorials I have read over have mentioned it, or perhaps they did and I didn't notice. Anyway,...
... As you say, "function" can be slightly shorter. Here's another example of function being shorter: # let binary list = List.for_all (function 0 | 1 -> true...
Le Fri, 03 Aug 2007 02:09:26 -0000, "paulbutler_ca" ... And be very careful, you'll also find a "fun" keyword which is NOT equivalent to "function". I don't...
Gabriel Kerneis
gabriel.kerneis@...
Aug 3, 2007 8:06 am
8391
Thank you all for the explanation, I was very close , but Its dificult for me to see this kind of functions, like Jon Harrop wrote Pattern matching makes that...
Msam85
carloselcheca@...
Aug 3, 2007 9:26 am
8392
Thank you all for the explanation, I was very close , but Its dificult for me to see this kind of functions, like Jon Harrop wrote Pattern matching makes that...
Msam85
carloselcheca@...
Aug 3, 2007 9:28 am
8393
Thank you all for the explanation, I was very close , but Its dificult for me to see this kind of functions, like Jon Harrop wrote Pattern matching makes that...
... ================================================ oliver@siouxsie2:~$ ocaml Objective Caml version 3.09.2 # let op = function p->fst p (snd p);; val op :...
Oliver Bandel
oliver@...
Aug 3, 2007 10:42 am
8396
... and also here: http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora016.html#toc14 Ciao, Oliver...
Oliver Bandel
oliver@...
Aug 3, 2007 10:47 am
8397
hello, is there somewhere an overview-document on the netstring-libraries (nethtml, netchannels, and the many others)? There are so much moudles, that it's not...
Oliver Bandel
oliver@...
Aug 3, 2007 12:08 pm
8398
... You did have a look to http://ocamlnet.sourceforge.net/manual-2.2/ and the tutorial listed there right? ChriS...
Christophe TROESTLER
Christophe.Troestler+...
Aug 3, 2007 2:35 pm
8399
... Client or server? Rich. -- Richard Jones Red Hat...
... ocamlnet is probably what you're looking for if you want to build REST clients or servers. ... For Google AdWords I was using OC-SOAP. Rich. -- Richard...
Hi, ... Thanks for your reply, Rich. Yes, I am building a client, and after taking a brief look at ocamlnet, I was immediately sold. I am using the Neturl...
I am looking through some samples and I found this one, could you please explain it to me: let rec fold glue lfval tr = (* Divide/conquer/glue on trees *) ...
... (fold glue lfval l) is equivalent to: (((fold glue) lfval) l) which is not: (fold (glue (lfval l))) or, as you have it: (fold (glue lfval l)) Try giving...
I want to use unix module and the only way I can do that is to use ocaml unix.cma - when starting interpreter. I would like to load this module automatically,...
... Put in a file named ~/.ocamlinit : #load "unix.cma";; ChriS...
Christophe TROESTLER
Christophe.Troestler+...
Aug 3, 2007 11:04 pm
8407
load isn't a caml function, rather it's a toplevel command. Toplevel commands are prefixed by #. #load "unix.cma";; Additionally, depending on your platform...
If (fold glue lfval l) is equivalent to: (((fold glue) lfval) l) Q1. That only means (fold glue) is being evaluated first, correct? But my main question is not...
... lfval and l in (fold glue lfval l) are parameters to fold, not parameters to glue. Function application associates to the left. The type of fold is (('a ->...
... Yes, exactly. Note that this is _not_ an application of "glue". This is just passing the "glue" function as an argument to "fold". ... No. As you just said...