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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 10758 - 10787 of 11540   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10758
Hi everybody ! I'm new in this group, it's my first post ! I want to say that if you use ocamldoc, you may use these comments: (** your comment that will be in...
lucasgouwy
Offline Send Email
Feb 2, 2009
5:11 pm
10759
Hello ! You can maybe try to download the version for MinGW and download MinGW. If there is no problem, you will can compile with ocamlopt... Else you can use...
lucasgouwy
Offline Send Email
Feb 2, 2009
5:22 pm
10760
I believe you can use the MS VC++ express distribution to get free microsoft compilers installed, and it's free for educational uses. You might have to use the...
jshaw10
Offline Send Email
Feb 2, 2009
7:28 pm
10761
Hello to everybody! As I do more or less every year, I've put online a downloadable version of the ML archive. It is at...
Stalkern 2 (Fastweb)
stalkern2@...
Send Email
Feb 3, 2009
9:22 am
10762
Hello, I'm having trouble getting tuareg to work in GNU Carbon Emacs on Mac OS 10.5.6. I've installed Ocaml and can launch it from the terminal. I've...
wilkee0311
Online Now Send Email
Feb 3, 2009
9:36 pm
10763
I haven't tried putting the files in the site-lisp directory, but the second option described in the README works for me. Put them in a custom location "foo"...
Ashish Agarwal
ashish_a1975
Offline Send Email
Feb 3, 2009
10:27 pm
10764
$ cat test.ml #load "unix.cma" #load "str.cma" #directory "+extlib" #directory "+pcre" #directory "+calendar" #load "extLib.cma" ;; #load "pcre.cma" ;; #load...
Florent Monnier
fmonnier@...
Send Email
Feb 4, 2009
6:05 pm
10765
... You need some very simple patches to make PG'OCaml work with the new version of Calendar >= 2.0. I actually have a rather long patch queue and PG'OCaml is...
Richard Jones
rwmjones
Offline Send Email
Feb 7, 2009
1:57 pm
10766
Hi all, ... src/sig_pack.cmi src/dot_ast.cmi lib/unionfind.cmx lib/heap.cmx lib/bitv.cmx src/version.cmx src/util.cmx src/blocks.cmx src/persistent.cmx...
deech_99
Offline Send Email
Feb 9, 2009
3:03 pm
10767
... `/home/deech/Programming/Ocaml/Godi/build/godi/godi-ocamlgraph/work/ocamlgraph-1.0' ... ...
deech_99
Offline Send Email
Feb 9, 2009
3:05 pm
10768
Hi all, I am getting the following error compiling godi-ocamlgraph 1.0#1 on ... src/sig_pack.cmi src/dot_ast.cmi lib/unionfind.cmx lib/heap.cmx lib/bitv.cmx...
deech_99
Offline Send Email
Feb 9, 2009
3:08 pm
10769
[I'm reposting that on the godi-list where it is more appropriate. Please continue the discussion there or answer directly to me] Hello, Le lun 09 fév 2009...
Virgile Prevosto
virgilepr
Offline Send Email
Feb 9, 2009
5:13 pm
10770
I installed the mingw version of OCaml for windows and set up the cygwin tools. When attempting to create an executable of a simple factorial program, this...
Bill James
w_a_x_man
Offline Send Email
Feb 10, 2009
6:29 pm
10771
... You need to install the mingw gcc in cygwin (package gcc-mingw). I think "C:\temp\cygwin\lib\gcc\i686-pc-cygwin\3.4.4" belong to the cygwin gcc (package...
Sylvain Le Gall
gildor16478
Offline Send Email
Feb 11, 2009
11:04 am
10772
Hi all, I'm trying to write a function that checks if a given word can be formed with the letters of another one (frequency matters). For example: # isMadeOf...
citromatik
miguel.pignatelli@...
Send Email
Feb 11, 2009
3:18 pm
10773
... It seems easier to convert each string to lists, sort them and scan them in parallel: "tract" -> acrtt "architect" -> accehirtt Martin ... -- ...
Martin Jambon
BioMim
Offline Send Email
Feb 11, 2009
3:31 pm
10774
... Here's one way: let explode str = let lst = ref [] in String.iter (fun c -> lst := (c :: !lst)) str; List.rev !lst;; let alpha str = List.sort compare...
Martin DeMello
martindemello
Offline Send Email
Feb 11, 2009
3:48 pm
10775
... Nice! I often underestimate the power of pattern-matching. Just for the record, since I'm trying to get the habit of thinking in functional style, I will...
citromatik
miguel.pignatelli@...
Send Email
Feb 11, 2009
4:26 pm
10776
... Thanks for responding. My cygwin installation was fouled up because I had unselected, selected, and re-selected so many packages. I removed it and...
Bill James
w_a_x_man
Offline Send Email
Feb 11, 2009
7:37 pm
10777
Hi all, How would you indent this? Mysql.iter ~f:(fun a -> Array.iter (fun x -> match x with Some v -> Printf.printf "%s " v | None -> Printf.printf "NULL " )...
citromatik
miguel.pignatelli@...
Send Email
Feb 12, 2009
11:25 am
10778
Hi, I prefer something like: Mysql.iter ~f:(fun a -> Array.iter (fun x -> match x with ... Printf.printf "\n") res ;; If I recall correctly their has already...
Hugo Ferreira
hugotwo3
Offline Send Email
Feb 12, 2009
11:32 am
10779
... Now I tend to use this: Mysql.iter ~f:( fun a -> Array.iter ( fun x -> match x with Some v -> Printf.printf "%s " v ... ) a; Printf.printf "\n" ) res ... ...
Martin Jambon
BioMim
Offline Send Email
Feb 12, 2009
11:47 am
10780
I wrote a recursive function to find the content between two strings. But the problem is that if this file is too big, I will get Stack_overflow. Could anybody...
kechenghao
Offline Send Email
Feb 13, 2009
12:37 am
10781
... The problem is that you're making the recursive call inside the try expression. When you use try OCaml puts some data on the stack, so your function isn't...
Jake Donham
jake.donham
Offline Send Email
Feb 13, 2009
7:34 am
10782
... I've taken a few liberties: open Printf let () = let print_row row = Array.iter ( function x -> ... ) row; printf "\n" in Mysql.iter ~f:print_row rows It...
Richard Jones
rwmjones
Offline Send Email
Feb 14, 2009
12:23 pm
10783
Hello, I was wondering if a program written in OCaml needs to be theorem-proved to be sure it does what it is intended. I mean, is there a theorem prover for...
silviu andrica
silviu_andrica
Online Now Send Email
Feb 19, 2009
1:45 pm
10784
To just write a program in OCaml, you don't need to do a proof (other than it type checking). I don't know a lot about formal methods, so I'm not sure what...
Thomas Hutchinson
armyofplants
Offline Send Email
Feb 19, 2009
2:17 pm
10785
... You can write Coq proofs and have them automatically generate OCaml code. You cannot go the other way. ...
Richard Jones
rwmjones
Offline Send Email
Feb 19, 2009
2:56 pm
10786
Hello, thank you very much. The answer was very helpful. I'll try some small example like checking if a list is a sublist of another list. Best regards, Silviu...
silviu andrica
silviu_andrica
Online Now Send Email
Feb 19, 2009
3:03 pm
10787
... You would imagine so, but I've never heard of any. OCaml is a popular implementation language in the formal methods community, but the source languages are...
Christopher Conway
postalchris
Offline Send Email
Feb 19, 2009
3:42 pm
Messages 10758 - 10787 of 11540   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