Hello, is there an Into-Doc for camlimages? Or are the examples and the *.mli files the only thing one has as "documentation"?! TIA, Oliver...
8410
Jon Harrop
harropjon
Aug 5, 2007 11:30 am
... 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...
8409
Christopher L Conway
postalchris
Aug 5, 2007 3:12 am
... 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 ->...
8408
cugf_0956
Aug 4, 2007 7:00 pm
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...
8407
jshaw10
Aug 4, 2007 2:44 am
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...
8406
Christophe TROESTLER
Christophe.Troestler+...
Aug 3, 2007 11:04 pm
... Put in a file named ~/.ocamlinit : #load "unix.cma";; ChriS...
8405
cugf_0956
Aug 3, 2007 10:46 pm
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,...
8404
Richard Jones
rwmjones
Aug 3, 2007 10:39 pm
... Yes definitely. SOAP is horrible[1]. Note that OC-SOAP uses ocamlnet to perform the underlying HTTP calls. Rich. ...
8403
Christopher L Conway
postalchris
Aug 3, 2007 10:17 pm
... (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...
8402
cugf_0956
Aug 3, 2007 9:10 pm
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 *) ...
8401
cultural_sublimation
cultural_sub...
Aug 3, 2007 7:49 pm
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...
8400
Richard Jones
rwmjones
Aug 3, 2007 3:46 pm
... 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...
8399
Richard Jones
rwmjones
Aug 3, 2007 3:45 pm
... Client or server? Rich. -- Richard Jones Red Hat...
8398
Christophe TROESTLER
Christophe.Troestler+...
Aug 3, 2007 2:35 pm
... You did have a look to http://ocamlnet.sourceforge.net/manual-2.2/ and the tutorial listed there right? ChriS...
8397
Oliver Bandel
oliver@...
Aug 3, 2007 12:08 pm
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...
8396
Oliver Bandel
oliver@...
Aug 3, 2007 10:47 am
... and also here: http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora016.html#toc14 Ciao, Oliver...
8395
Oliver Bandel
oliver@...
Aug 3, 2007 10:42 am
... ================================================ oliver@siouxsie2:~$ ocaml Objective Caml version 3.09.2 # let op = function p->fst p (snd p);; val op :...
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...
8392
Msam85
carloselcheca@...
Aug 3, 2007 9:28 am
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...
8391
Msam85
carloselcheca@...
Aug 3, 2007 9:26 am
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...
8390
Gabriel Kerneis
gabriel.kerneis@...
Aug 3, 2007 8:06 am
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...
8389
Jon Harrop
harropjon
Aug 3, 2007 2:34 am
... 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...
8388
paulbutler_ca
Aug 3, 2007 2:09 am
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,...
8387
Jon Harrop
harropjon
Aug 3, 2007 12:11 am
... 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,...
8386
gaberosenhouse
Aug 2, 2007 11:58 pm
Look at http://en.wikipedia.org/wiki/Currying and remember that (+) is a function of two arguments. ... ...
8385
Karl Zilles
kzilles
Aug 2, 2007 11:35 pm
... 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...
8384
Msam85
carloselcheca@...
Aug 2, 2007 11:21 pm
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...
8383
cultural_sublimation
cultural_sub...
Aug 2, 2007 3:04 pm
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...
8382
cultural_sublimation
cultural_sub...
Aug 2, 2007 2:20 pm
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)...