Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ocaml_beginners · Ocaml Beginners

The Yahoo! Groups Product Blog

Check it out!

Group Information

? 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.

Messages

Advanced
Messages Help
Messages 7024 - 7053 of 13890   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
7053 Richard Jones
rwmjones Send Email
Jan 7, 2007
11:30 pm
... Okayyyy. SQLite is a fine choice of database, but (AIUI) it's not the sort of database which needs a server, so I'm not sure in what sense such a database...
7052 deech_99 Send Email Jan 7, 2007
9:53 pm
... At this prelim stage I am thinking of using Sqlite and Labltk (is there a better GUI library in ocaml?). I have not started coding and I am a complete...
7051 Richard Jones
rwmjones Send Email
Jan 7, 2007
9:22 pm
... OCaml does have thread support, so this will work fine. You're a bit vague on essential details like what database(s) you're querying and what GUI system...
7050 Lars Nilsson
larsn66 Send Email
Jan 7, 2007
7:43 pm
... I think it would work ok, if you indeed plan to sleep in the threads most of the time. I believe the blocking functions (like sleep) releases the mutex...
7049 deech_99 Send Email Jan 7, 2007
7:19 pm
Hi all, I am considering Ocaml for a project where a client requests JPEG images from multiple databases running on remote machines. On the client GUI I want...
7048 Jonathan T Bryant
jonboy3182 Send Email
Jan 7, 2007
5:14 pm
... Maybe I'm oversimplifying, but since the "-thread" option is already needed to enable threaded code, couldn't there be a "-multithread&quot; option to enable a...
7047 Richard Jones
rwmjones Send Email
Jan 7, 2007
2:18 pm
... OCaml code can run in at most one thread at a time, and the reason for that is that the garbage collector isn't reentrant. If it was reentrant, it'd pay a...
7046 Robert Roessler
robertr959 Send Email
Jan 7, 2007
10:14 am
... You might want to check out a recent announcement on the OCaml list from Gerd Stolpmann on December 28 titled "ocamlnet-2.2 released". Robert Roessler ...
7045 jshaw10 Send Email Jan 7, 2007
6:16 am
If I'm understanding http://en.wikipedia.org/wiki/Reentrant as describing your problem, it seems like Unix.fork (ie fork()) would do the trick. Threads made...
7044 Eric Lavigne
lavigne.eric Send Email
Jan 7, 2007
2:38 am
... My int_of_float version is rather long, and also always rounds up for negative numbers. It looks to me like Remi's ceil version always rounds up. It seems...
7043 Oliver Bandel
oliver@... Send Email
Jan 6, 2007
11:16 pm
On Sat, Jan 06, 2007 at 03:07:50PM +0100, Oliver Bandel wrote: [...] ... [...] Especially SharedMem would be fine. Thinking about it.... wouldn't it be...
7042 Martin Jambon
BioMim Send Email
Jan 6, 2007
11:16 pm
... Arghhh, no, not int_of_float or truncate. -- Martin Jambon http://martin.jambon.free.fr...
7041 Martin Jambon
BioMim Send Email
Jan 6, 2007
11:04 pm
... Beware of sign issues with ceil or int_of_float/truncate since ceil (-.x) <> -. ceil x -- Martin Jambon http://martin.jambon.free.fr...
7040 Remi Vanicat
dl_ens Send Email
Jan 6, 2007
7:00 pm
... you can also use ceil : let precision_round x digits_after_decimal = let multiplier = 10. ** (float_of_int digits_after_decimal) in (ceil ((x *....
7039 William Neumann
scoey13 Send Email
Jan 6, 2007
5:07 pm
... You need to load it first. From the manual: Programs that use the num library must be linked as follows: ocamlc [other options nums.cma other files ...
7038 Sachin Shah
zakaluka Send Email
Jan 6, 2007
3:12 pm
Hi, The best way is to download the OCaml source code. Under the 'otherlibs/num' directory, you will find ratio.ml[i]. Neither file is flush with comments,...
7037 Eric Lavigne
lavigne.eric Send Email
Jan 6, 2007
3:08 pm
... # let precision_round x digits_after_decimal = let multiplier = 10. ** (float_of_int digits_after_decimal) in (float_of_int (int_of_float ((x *....
7036 Oliver Bandel
oliver@... Send Email
Jan 6, 2007
2:11 pm
... [...] Shouldn't it be easy toparallelize, when using fork() to make seperate processes? There is one thing that would be nice to have: IPC. Ciao, Oliver...
7035 Eric Lavigne
lavigne.eric Send Email
Jan 6, 2007
2:06 pm
... int_of_float rounds down. # int_of_float 3.0;; - : int = 3 # int_of_float 3.4;; - : int = 3 # int_of_float 3.5;; - : int = 3 # int_of_float 3.6;; - : int =...
7034 Jon Harrop
harropjon Send Email
Jan 6, 2007
12:45 pm
... Indeed, F# has many useful features that OCaml lacks and concurrency is one of them. However, there is a considerable cost to having a concurrent GC and, ...
7033 Eric Berend
tradewisdom Send Email
Jan 6, 2007
12:06 pm
Hi, After a careful evaluation process, candidate languages for a proposed financial markets analysis programming project have been narrowed down to a very...
7032 Martin Jambon
BioMim Send Email
Jan 5, 2007
8:03 pm
... No, it's a very general and powerful mechanism in OCaml. These kind of types are called sum types or variants, and the "match with" stuff is what is called...
7031 al_kolesnikoff Send Email Jan 5, 2007
7:21 pm
... value ... Does this method only for work with "option type" ? Thank you very much for your answer! Alexander...
7030 Martin Jambon
BioMim Send Email
Jan 5, 2007
6:51 pm
... Your dbs object is not exactly an array, it is an option type: its value is either "None" or "Some a" where "a" is an array. If you want to get the length...
7029 al_kolesnikoff Send Email Jan 5, 2007
6:26 pm
# let dbs = list_dbs db ();; val dbs : string array option = Some [|"mysql"; "radius"; "test"|] If I'm trying: # Array.length dbs;; I'm teceive: This...
7028 Jonathan Roewen
consulatewizard Send Email
Jan 5, 2007
5:38 am
... let newlist = ... in newgparticles opart gplist ~newghostparts:newlist And you'll get the warning about the optional argument not being able to be...
7027 Christian Lerrahn
js.fan Send Email
Jan 5, 2007
4:52 am
Hi Jonathan, I feel stupid but I didn't understand your remedy. I tried to explicitly state the type of my optional argument but the error stayed the same....
7026 Robert Roessler
robertr959 Send Email
Jan 5, 2007
4:47 am
... Just to emphasize this point, from "4.1.1 Optional arguments" of the OCaml manual we have "A function taking some optional arguments must also take at...
7025 Jonathan Roewen
consulatewizard Send Email
Jan 5, 2007
3:30 am
It's because your optional argument can't be erased, confusing the type checker. Adding an explicit type (foo list) to newghostparts, Expecting function has...
7024 Christian Lerrahn
js.fan Send Email
Jan 5, 2007
3:02 am
Hi, I have this snippet of code that drives me crazy. I just don't see why my types are mismatching. It's rather ugly code anyway but I couldn't think of a...
Messages 7024 - 7053 of 13890   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help