... You should be able to use -cclib to pass options to the linker (via gcc IIRC so you'll need to use '-cclib -Wl,...'). Use the -verbose option to ocamlopt...
9741
Zheng Li
li@...
May 10, 2008 1:15 am
Hello, I'd like share another small camlp4 script: pa_trybind [1] , which provides syntax for exception handling in scope of bindings (rather than values). I...
9742
Richard Jones
rwmjones
May 10, 2008 8:07 am
Nice language extension and if I understand it correctly it's completely unambiguous with the original syntax, so it could be a candidate to be added to the...
9743
Robert Fischer
smokejumperit
May 10, 2008 12:51 pm
Where can I find the list of symbols available for operators, and their associated precedence? ~~ Robert....
9744
Ashish Agarwal
ashish_a1975
May 10, 2008 1:33 pm
Section 6.1 of the manual: http://caml.inria.fr/pub/docs/manual-ocaml/index.html On Sat, May 10, 2008 at 8:50 AM, Robert Fischer < ... [Non-text portions of...
9745
Robert Fischer
smokejumperit
May 10, 2008 1:47 pm
Thanks -- that's the list of characters. Where's the precedence rules? It's obviously got some: # 1 + 4 / 2;; - : int = 3 ~~ Robert....
9746
Robert Fischer
smokejumperit
May 10, 2008 1:52 pm
Actually, that's probably a bad example (could just be rounding up). Here's a better one: # 3 + 8 / 2;; - : int = 7 ~~ Robert....
9747
Ashish Agarwal
ashish_a1975
May 10, 2008 2:08 pm
There's a table in Section 6.7. On Sat, May 10, 2008 at 9:52 AM, Robert Fischer < ... [Non-text portions of this message have been removed]...
9748
citromatik
miguel.pignatelli@...
May 16, 2008 12:58 pm
Hi all, I am working on http://en.wikipedia.org/wiki/Bioinformatics Bioinformatics coding primarily in Perl and eventually in C and R (plus some JavaScript...
9749
Sylvain Le Gall
gildor16478
May 16, 2008 1:48 pm
On 16-05-2008, citromatik <miguel.pignatelli@...> wrote: [...] ... I have no experience at all concerning this field. But I know that Martin Jambon has...
9750
Jon Harrop
harropjon
May 16, 2008 2:49 pm
... Good single-core numeric performance is a typical benefit of OCaml. You will probably get a better response asking on the main list rather than this ...
9751
citromatik
miguel.pignatelli@...
May 16, 2008 2:54 pm
Hi all, I'm thinking about the exercises on lexical trees proposed in chapter 2 of the http://caml.inria.fr/pub/docs/oreilly-book/ "oreilly book" . I tried...
9752
Martin Jambon
BioMim
May 16, 2008 4:54 pm
... I used to, when I was doing bioinformatics, from 1998 until April 2007. I think that bioinformatics in general has nothing really specific that would make...
9753
citromatik
miguel.pignatelli@...
May 16, 2008 5:23 pm
First of all, thank you for your answear, ... Well, you are right, it is a very broad field, and that is why I asked which tasks you are doing in OCaml. I...
9754
Sylvain Le Gall
gildor16478
May 16, 2008 9:42 pm
... And you should be wrong ;-) Everything depends on many parameters. I will use C for processing a huge text file -- because in this case speed matters (i.e....
9755
Fabrice Marchant
fabrice.marc...
May 17, 2008 10:08 am
Hi ! ... The reason is the character isn't arranged at the right place this way. ... (as a replacement for the 2 upper match cases). Regards, Fabrice...
9756
citromatik
miguel.pignatelli@...
May 18, 2008 2:28 pm
... Hi Fabrice, thank you very much for your answear. ... This substitutes the last match case I originally posted M; -- View this message in context:...
9757
citromatik
miguel.pignatelli@...
May 18, 2008 3:04 pm
Hi all, I'm trying to write a tail recursive version of this function that returns a list consisting of the integers between 2 given numbers: let rec...
9758
Till Crueger
yavimaja
May 18, 2008 3:28 pm
On Sun, 18 May 2008 17:04:30 +0200, citromatik <miguel.pignatelli@...> ... Function application binds higher than operator application in OCaml. So you have...
9759
remi.vanicat@...
dl_ens
May 18, 2008 6:06 pm
... [...] ... You will also note that this function construct the list backward (from tail to head), so if you want the correct order you need: let make_range...
9760
Fabrice Marchant
fabrice.marc...
May 18, 2008 8:54 pm
Hi Miguel, ... This is imho nicer : I didn't liked the library call with the degenerated one-element list. Moreover, it allows to group the first [] case with...
9761
Fabrice Marchant
fabrice.marc...
May 18, 2008 9:21 pm
Hi ! Do you consider this is acceptable : let make_range n m = if n > m then [] else Array.to_list (Array.init (m-n+1) ( ( + ) n )) ? Fabrice ...
9762
Martin Chabr
martin_chabr
May 19, 2008 10:16 pm
Thank you, Ygrek, thank you Richard. Allow me some more questions, please: So on Windows we can have 3 ways of OCaml deployment for compilation to native code...
9763
Martin Chabr
martin_chabr
May 19, 2008 10:48 pm
I've just read the Release Notes by INRIA again and realize that Cygwin also contains compiled OCaml packages, which means that I can even have the debugger if...
9764
Fabrice Marchant
fabrice.marc...
May 20, 2008 8:38 am
Hi ! ... module rec Point : sig type t = int * int val compare : 'a -> 'a -> int val ( ++ ) : int * int -> int * int -> int * int ... val connect : (int * int)...
9765
Martin Chabr
martin_chabr
May 20, 2008 7:31 pm
Yes, Fabrice, I would solve it in a similar way as you have done, without using recursion and without having to worry about whether it is at tail or not, or...
9766
Jim Grundy
jim_grundy2000
May 22, 2008 6:10 pm
Hi All Those of you applying OCaml to real-world problems will be interested in the Commercial Users of Functional Programming (CUFP) workshop to be held in...
9767
Zheng Li
li@...
May 24, 2008 11:14 am
Hi, ... Thanks for the positive feedback. Now I'm considering to combine it (pa_trybind [1]) with pa_use [2], since they both deal with binding-level exception...
9768
Philippe Strauss
philou@...
May 30, 2008 7:02 am
Hello, I've got an error which is completely new and weird to me when trying to compile an ocaml program using pgocaml: philou@philou-macbook:~/mysrc/misc$...
9769
marlenemiller71
Jun 1, 2008 2:30 am
Would you please show an example of multiple-matching? expr ::= fun multiple-matching multiple-matching ::= {parameter}+ -> expr parameter ::= pattern...