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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 3125 - 3154 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3125
I downloaded ocaml-mode-XYY.tar.gz, I installed it under Linux and I added the lines (setq auto-mode-alist (cons '("\\.ml[iylp]?$" . caml-mode)...
Lecca Paola
lecca@...
Send Email
Apr 1, 2005
9:17 am
3126
... The main reasons I'm approaching the problem using objects is firstly because I have a background in Java, and therefore object-oriented programming is a...
k359525
Offline Send Email
Apr 1, 2005
9:31 am
3127
hi, LP> I downloaded ocaml-mode-XYY.tar.gz, I installed it under Linux LP> and I added the lines LP> (setq auto-mode-alist LP> (cons...
Kamil Shakirov
kamils@...
Send Email
Apr 1, 2005
10:17 am
3128
Hello Paola, ... If you want to get the x-component of a colored_point, you have to use get_x. P.get_x expects an argument of type P.point, which is, from the ...
Virgile Prevosto
virgilepr
Offline Send Email
Apr 1, 2005
12:01 pm
3129
Hello all, I have a little text file wich contains 4 lines. Very simple. I wanted to test the "input" function on it, but I got error. What did I do wrong? #...
Rakotomandimby (R12y)...
mihamina@...
Send Email
Apr 2, 2005
12:01 am
3130
... Fire up ocamlbrowser, click on "Pervasives", then "input (v)" and then "Intf" and you'll get the documentation for the "input" function: "[input ic buf pos...
Jon Harrop
harropjon
Offline Send Email
Apr 2, 2005
12:13 am
3131
... input works as follows: input ic buf pos len so pos should be 0 (the beginning of your string chaine = buf) and len should be not more than the length of...
Martin Jambon
BioMim
Offline Send Email
Apr 2, 2005
12:14 am
3132
... And: # String.sub "essai" 3 3;; Exception: Invalid_argument "String.sub". # String.sub "essai" 3 2;; - : string = "ai" # String.sub "essai" 2 3;; - :...
Matt Gushee
mcgushee
Offline Send Email
Apr 2, 2005
12:14 am
3133
I was composing an answer, but the question has been answered - I won't. Though, for future reference, the OCaml library documentation is available at...
Matthew O'Connor
angagon
Offline Send Email
Apr 2, 2005
12:23 am
3134
Hi, everyone Compiling with ocamlopt, is there an estimation on how fast ocaml programs runs comparing with their peers in C/C++? It looks like ocaml have...
Andy Yang
yyu08
Offline Send Email
Apr 2, 2005
6:25 am
3135
... C is so much less capable than OCaml that I'd begin by restricting the comparison to C++ with the STL. ... Why do you say that? ... No, ocamlopt optimises...
Jon Harrop
harropjon
Offline Send Email
Apr 2, 2005
6:46 am
3136
The users of Ocaml know it to be a very good compiler, producing well-optimized code. It's not quite in the class of the best C compilers, however, so you...
Aaron W. West
awilliamwest
Online Now Send Email
Apr 2, 2005
6:57 am
3137
Any help on any of these will be greatly appreciated and a prayer will be said for you!! /******************************************************************** ...
sneekizoid
Offline Send Email
Apr 2, 2005
6:11 pm
3138
... Well, we're certainly not going to do your homework for you, but here ... Obviously, you're converting 2 -> 45, 3 -> 47, and so on here. Which of the...
William D.Neumann
scoey13
Offline Send Email
Apr 2, 2005
8:20 pm
3139
An old professor of mine was telling me about a feature in some Lisp compilers where if you call a function more than once with the same arguments, rather than...
Alessandro Gagliardi
soleclipse
Offline Send Email
Apr 2, 2005
8:29 pm
3140
... I'm pretty sure OCaml doesn't have any form of automatic memoization, but you can always wrap your own[1]. ... You have to have built OCaml the the LablTk...
William D.Neumann
scoey13
Offline Send Email
Apr 2, 2005
8:49 pm
3141
... As William pointed out, the key word here is 'memoize'. Not sure about Lisp, but I believe it's the default in Haskell. Try searching for it on Google[1]...
Richard Jones
rwmjones
Offline Send Email
Apr 2, 2005
10:06 pm
3142
I'm getting linking errors compiling ocamlffi. The first ( and most repeated message ) is undefined reference to __errno. This is on the prebuilt mingw version...
Thaddeus Olczyk
t_olczyk
Offline Send Email
Apr 3, 2005
3:20 am
3143
Thanks for those exercises. They were good practice for me. (My mind has been numbed from corporate programming for the last few years, and I'm still...
Alessandro Gagliardi
soleclipse
Offline Send Email
Apr 3, 2005
6:31 pm
3144
... I suppose that _this time_, since the book is for scientists, my complains about the price will make more sense: it's about 10% of a postdoc monthly ...
Vincenzo Ciancia
vincenzo_yahoo_addres...
Send Email
Apr 4, 2005
8:50 am
3145
... It does indeed! Check out OCaml's "Lazy" module. Very useful... :-) Lazy evaluation has a special place in functional programming as FPLs would not...
Jon Harrop
harropjon
Offline Send Email
Apr 4, 2005
9:47 am
3146
... Agree with this. Jon: Have you thought about self-publishing the book through something like the excellent Lulu (http://www.lulu.com) service? Rich. -- ...
Richard Jones
rwmjones
Offline Send Email
Apr 4, 2005
9:54 am
3147
Hi! Is it possible / sensible to use ocaml for embedded programming? (e.g. use ocaml to code programs meant to run in a microcontroller or a dsp) I feel its a...
Juan Miguel Montes
jmafablemontes
Offline Send Email
Apr 4, 2005
11:31 am
3148
... [...] Me too, but Jon knows this already... It's many times more than 10% of what I have per month (since some months...) Ciao, Oliver...
Oliver Bandel
oliver@...
Send Email
Apr 4, 2005
12:46 pm
3149
... I didn't know that lazy memoization could be used to mimic DP memoization... any chance I can get a brief explanation on how that works? Most of the use...
Seth J. Fogarty
aravthamis
Online Now Send Email
Apr 4, 2005
2:35 pm
3150
Hah! I knew it. And all these nay-sayers had me thinking that I would have to write my own. Thanks! On 4 Apr 2005 11:03:15 -0000,...
Alessandro Gagliardi
soleclipse
Offline Send Email
Apr 4, 2005
3:33 pm
3151
This code: let r = ref 10;; for i = 1 to !r do incr r done;; terminates, which means that <e1> and <e2> in for i = <e1> to <e2> do <e3> done;; are evaluated...
Radu Grigore
radugrigore
Offline Send Email
Apr 4, 2005
6:23 pm
3152
... OCaml is already being used in embedded applications, albeit embedded in a huge computer. :-) ... OCaml can generate ARM assembler, IIRC, which would be...
Jon Harrop
harropjon
Offline Send Email
Apr 4, 2005
8:18 pm
3153
... Alex Baretta is producing a commercial glass cutting table with an embedded ocaml controller. Mind you the controller is a 2Ghz Celeron with 256MB RAM, so...
Karl Zilles
kzilles
Online Now Send Email
Apr 4, 2005
8:25 pm
3154
... Oh, hang on. If you want to memoize the result of an expression then you want to use lazy evaluation and the Lazy module. If you want to memoize the ...
Jon Harrop
harropjon
Offline Send Email
Apr 4, 2005
8:52 pm
Messages 3125 - 3154 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