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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 2934 - 2963 of 11540   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2934
Dear Thaddeus, ... I use "ocamlbrowser" to do this. Regards Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van...
Johann Spies
jspies@...
Send Email
Feb 8, 2005
1:31 pm
2935
I wonder how can I load a Big_Int module in ML? I tried open, use, and none of them worked. I need to handle some arbitrarily huge numbers. Thanks a lot!...
huiyuan_ma
Offline Send Email
Feb 10, 2005
1:55 am
2936
... Hi, Big_int is contained in the Num library. Documentation for the Num library is here: http://caml.inria.fr/ocaml/htmlman/manual036.html On this page it...
Karl Zilles
kzilles
Offline Send Email
Feb 10, 2005
2:16 am
2937
... You need to load the nums library first. From the OCaml manual, chapter 22 (The num library): Programs that use the num library must be linked as follows:...
William D.Neumann
scoey13
Offline Send Email
Feb 10, 2005
2:20 am
2938
I'm wondering if I can do it with locales or something. Any ideas? Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology -...
Richard Jones
rwmjones
Offline Send Email
Feb 10, 2005
2:39 pm
2939
I tried this to write some string on a file, seems very straightforward, but it just doesn't write! let oFile="~/out.txt";; let oc = open_out oFile;; output...
huiyuan_ma
Offline Send Email
Feb 10, 2005
3:55 pm
2940
... There's quite a few problems here: 1: I don't believe OCaml will do shell expansion of ~ when part of a filename. I know it doesn't do it on OS X. 2: the...
William D. Neumann
scoey13
Offline Send Email
Feb 10, 2005
4:10 pm
2941
... Please give the command you use. Did you try "ocaml file.ml" ? If so you need to tell it where to find the implementation of "Dumper" (it depends on...
Christophe TROESTLER
Christophe.Troestler@...
Send Email
Feb 10, 2005
4:51 pm
2942
... You need to compile dumper.mli and dumper.ml first (there should be dumper.cmi and dumper.cmo files as a result). For example: ocamlc -c dumper.mli ocamlc...
Richard Jones
rwmjones
Offline Send Email
Feb 10, 2005
5:51 pm
2943
... I have this function in my own personal mini-library, and it works fine: let output_file filename data = let chan = open_out_bin filename in output_string...
Richard Jones
rwmjones
Offline Send Email
Feb 10, 2005
5:59 pm
2944
... I got this working based one the examples. Thank you guys! __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced...
Huiyuan Ma
huiyuan_ma
Offline Send Email
Feb 10, 2005
6:03 pm
2945
Hi all, I have a question: if I want to leave the implementation of a type in a module (btw in a mli/ml pair) accessible, should I duplicate its code as in ...
Vincenzo Ciancia
vincenzo_yahoo_addres...
Send Email
Feb 10, 2005
7:22 pm
2946
... That's exactly the reason why extlib exists - to provide useful functions to the community which are not part of the standard library. Rich. -- Richard...
Richard Jones
rwmjones
Offline Send Email
Feb 10, 2005
7:41 pm
2947
... I don't think there is a simpler way to expose a type definition in an interface. cheers. Tony...
Tony Edgin
tonyedgin
Offline Send Email
Feb 10, 2005
9:07 pm
2948
Hi all!! I wrote a program and would like to switch modules depending on the input. In short I am looking for something like that: myfunction module_a x = let...
b_w@...
bombawilly
Offline Send Email
Feb 10, 2005
9:30 pm
2949
... You can define your (complex) type definition in a specific .ml file without a corresponding .mli: (* the_type.ml *) type t = ... (* modul.mli *) type t =...
Martin Jambon
BioMim
Offline Send Email
Feb 10, 2005
10:03 pm
2950
... See this thread: http://caml.inria.fr/archives/200408/msg00075.html Martin -- Martin Jambon, PhD Researcher in Structural Bioinformatics since the 20th...
Martin Jambon
BioMim
Offline Send Email
Feb 10, 2005
10:11 pm
2951
... <in humor> Well, Rich, since you're such the Perl guy, maybe port Perl's trick for the same thing over :) From man perlfaq5 </in humor> From another Perl...
Blair Zajac
blair_z
Offline Send Email
Feb 10, 2005
10:37 pm
2952
Hi, I'm using Marshal to turn a tree structure into an integer, I wonder how to explicitly define that structure? For example, if I use this: let s =...
huiyuan_ma
Offline Send Email
Feb 11, 2005
2:22 am
2953
... You need to explain in more detail what you are trying to accomplish, and perhaps show more of your code. In particular, you should explain what the...
Matt Gushee
mcgushee
Offline Send Email
Feb 11, 2005
6:53 am
2954
... [...] Thanks. I know I can write it. I was just wondering if there was a way to avoid writing it, eg. by setting the locale to en_GB or something....
Richard Jones
rwmjones
Offline Send Email
Feb 11, 2005
9:21 am
2955
... I guess you can use that if you want: let print_comma_int i = if i < 1000 then print_int i else (print_comma_int (i / 1000); Printf.printf ",%03i" (i mod...
Martin Jambon
BioMim
Offline Send Email
Feb 11, 2005
7:05 pm
2956
Just a small fix :-) ... ^^^^ let rec print_comma_int i = ... Martin...
Martin Jambon
BioMim
Offline Send Email
Feb 11, 2005
7:12 pm
2957
Hello folks, I'm profiling an ocaml program compiled with ocamlopt -p on linux/x86, and I'm having trouble reading the gprof output. In particular, is there a...
Eric Breck
invertedcow
Offline Send Email
Feb 11, 2005
7:16 pm
2958
Hello, I am new to the list and am just starting to learn Ocaml by going through the book "The Functional Approach to Programming." On page 54, at the bottom...
vly3
Offline Send Email
Feb 12, 2005
6:06 am
2959
... alpha='a -- Seth Fogarty sfogarty@[gmail.com|rice.edu|livejournal] Neep-neep at large AIM: Sorrath "I know there are people in this world...
Seth J. Fogarty
aravthamis
Offline Send Email
Feb 12, 2005
6:14 am
2960
... Just to expand on that a bit, all of the greek letters that they use in the book are represented in OCaml by a single quote followed by a regular variable...
William D.Neumann
scoey13
Offline Send Email
Feb 12, 2005
2:32 pm
2961
... Thank you for that recommendation. I was starting to look at the oreilly book, http://caml.inria.fr/oreilly-book/ but Jason Hickey's introduction is a lot...
vly3
Offline Send Email
Feb 13, 2005
11:41 am
2962
Now I am going through Jason Hickey's Introduction to Ocaml, and have encountered an anomaly in section 2.1.5 string: character strings. This example given in...
vly3
Offline Send Email
Feb 13, 2005
3:25 pm
2963
... Well, it is a problem with your port of ocaml, There is no problem with ocaml 3.08.2 on linux. It is still a bug, and you should report it for the ocaml...
Remi Vanicat
dl_ens
Offline Send Email
Feb 13, 2005
4:25 pm
Messages 2934 - 2963 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