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 13556 - 13585 of 13890   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
13556 jr
jrvelman Send Email
May 27, 2012
12:40 am
When using toplevel there are warnings for backslashes in Str.regexp (and in templates for global replace). These don't seem to cause any problem, but is there...
13557 Sebastien Mondet
sebmondet Send Email
May 27, 2012
12:50 am
Hi Yes those warnings will show-up at compilation. Generally it means that you have not escaped the backslashes enough: to pass '\(&#39; to the regexp library you...
13558 jr
jrvelman Send Email
May 27, 2012
4:03 pm
... Thanks, Seb. This makes sense. The curious thing is that the program works as is, in spite of the warnings. Specifically, This: let removeStuffFromString...
13559 Francois Berenger
f_berenger Send Email
May 28, 2012
4:29 am
... Subject: [Caml-list] odb.ml mailing list Date: Mon, 28 May 2012 00:08:39 -0400 From: Edgar Friendly To: caml-list@... Francois Berenger has been kind...
13560 rixed@...
rixed Send Email
Jun 5, 2012
5:29 am
Hello! I have a very simple problem to solve: given some CSV files, read the records and perform some simple functions over them and finaly store the resulting...
13561 Gabriel Scherer
ga_sche Send Email
Jun 5, 2012
11:26 am
I wouldn't look for a single idea to work for your three stages of parsing, computing and output. Couldn't you more simply: 1. define parsers for your input...
13562 rixed@...
rixed Send Email
Jun 5, 2012
12:56 pm
Computing several results from the same input set is required, but the interesting requirement is that computations can be piped into one another, so that one...
13563 rixed@...
rixed Send Email
Jun 6, 2012
12:06 pm
I've implemented some kind of mix between the previous functiorial mess and your solution based on explicit functions (datatypes are still functorized so that...
13564 Vu Ngoc San
san.vungoc Send Email
Jun 14, 2012
6:56 am
Hello I don't know if this is an ocamlsdl bug or an SDL bug: each time I try to use Sdlmixer.setvolume_music, the volume is set to 0. (therefore the music...
13565 Philippe Veber
philippeveber Send Email
Jun 14, 2012
7:02 am
Have you tried to write the same program in C. That helped me in the past determining on which layer a bug was. my 2 cent, ph. 2012/6/14 Vu Ngoc San...
13566 Boris Hollas
hollas@... Send Email
Jun 14, 2012
5:04 pm
Hello, I have tree-like data types for which a custom equality operator is defined. I want to test membership in lists, but I haven't found a way to supply...
13567 Gabriel Scherer
ga_sche Send Email
Jun 14, 2012
5:16 pm
You can use List.exists: let my_mem elt = List.exists (my_eq elt) If you are planning to store and test membership on a lot of elements, you should use a more...
13568 Florent Monnier
fmonnier@... Send Email
Jun 15, 2012
12:05 am
Congratulations! You've found a bug: ocamlsdl-0.9.0/src/sdlmixer.ml: external setvolume_music : music -> float -> unit = "sdlmixer_setvolume_music" ...
13569 Francois Berenger
f_berenger Send Email
Jun 15, 2012
12:57 am
... Hello, ... CAMLparam1 (vol); ... CAMLreturn (Val_unit);...
13570 Vu Ngoc San
san.vungoc Send Email
Jun 15, 2012
8:45 am
... thanks ! I tried the second possibility, and it works very well. San...
13571 Florent Monnier
fmonnier@... Send Email
Jun 15, 2012
4:33 pm
Le vendredi 15 juin 2012 02:57:57, Francois Berenger a écrit : [...] ... We can put it, but we can also omit it, because there are no allocation in this...
13572 Florent Monnier
fmonnier@... Send Email
Jun 15, 2012
4:48 pm
Le vendredi 15 juin 2012 10:45:25, Vu Ngoc San a écrit : [...] ... This is the one that have been commited to the CVS. (I've sent both patch, in case the...
13573 Marco
roparzhhemon Send Email
Jun 18, 2012
3:58 am
Say I have a function f (of type a->b) and a value x (of type a), and I want to ask the OCaml interpreter to start computing f x, and stop (raising an...
13574 Francois Berenger
f_berenger Send Email
Jun 18, 2012
4:16 am
In C under UNIX there is the alarm function. Your process receives the signal SIGALRM once the time has elapsed. So you would need C wrappers for OCaml for...
13575 oliver
oliver@... Send Email
Jun 18, 2012
8:34 am
... [...] There is Unix.alarm, which provides the alarm()-function. Ciao, Oliver...
13576 Francois Berenger
f_berenger Send Email
Jun 18, 2012
8:42 am
... You are right, also there is Sys.signal and Sys.set_signal which might come handy....
13577 Ashish Agarwal
ashish_a1975 Send Email
Jun 18, 2012
2:54 pm
This is the final reminder for submitting a CUFP talk proposal. The deadline is June 29th. I especially encourage talks from readers of this list, so the...
13578 Andreas Romeyke
andreas.romeyke@... Send Email
Jun 20, 2012
10:41 am
Hello, on several websites there will be memoization implemented like: let memo f = let m = Hashtbl.create 111 in fun x -> try Hashtbl.find m x with Not_found...
13579 Philippe Veber
philippeveber Send Email
Jun 20, 2012
10:56 am
Hi Andreas, could you give an example of how you use your memo2 function? ph. 2012/6/20 Andreas Romeyke <andreas.romeyke@...> ... [Non-text portions of this...
13580 Andreas Romeyke
andreas.romeyke@... Send Email
Jun 20, 2012
11:12 am
Hello, Philippe, ... Here the larger code snippet: .. for y = 0 to height -1 do for x = 0 to width -1 do let c = Img.get img x y in let l = Color.lightness c...
13581 Gabriel Scherer
ga_sche Send Email
Jun 20, 2012
11:13 am
Indeed, you use the memorized function wrongly: ... let l_threshold = memo2 threshold mean variance in ... With this code, a new call to "memo2 threshold" is...
13582 Philippe Veber
philippeveber Send Email
Jun 20, 2012
11:23 am
Ok so the reason it doesn't work is that you shouldn't call memo2 all the time, but once, to create the cached function once and for all. Instead of ... you...
13583 Andreas Romeyke
andreas.romeyke@... Send Email
Jun 20, 2012
11:23 am
Hello Gabriel, ... Thanks for your detailed explanation :) Bye Andreas -- Andreas Romeyke - Abt. Blindenschrift, Zi. 161 - [Non-text portions of this message...
13584 Ashish Agarwal
ashish_a1975 Send Email
Jul 5, 2012
3:49 pm
To compile ocaml-sqlite3 via godi successfully, I had to first set these environment variables: export C_INCLUDE_PATH=/share/apps/sqlite/3.7.7/intel/include ...
13585 Chris Yocum
cyocumflickr Send Email
Jul 6, 2012
12:02 pm
HI Guys, I have a kind of dumb question but I am trying to use Camomile to work with unicode and I am confused by it. How does one take a normal Ocaml string...
Messages 13556 - 13585 of 13890   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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