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 to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 7188 - 7217 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7188
Then I guess there is no other solution other than recursive module, because it's actually recursive: Mod1 and Mod2 depends my_struct and hence must see ...
code17
code_1977
Offline Send Email
Feb 1, 2007
10:01 am
7189
Hello all, let me describe a ocamlmktop-specific compilation problem that I encountered : I have two modules, let's call them A and B, that are completely...
roparzhhemon
Offline Send Email
Feb 3, 2007
2:53 pm
7190
Hi, is it possible to specify a format for floats in string_of_float. E.g. could I say that I want 5 decimals or e.g. an xxe+/-yy notation like 1.56e23? I know...
Christian Lerrahn
js.fan
Offline Send Email
Feb 5, 2007
4:13 am
7191
... No. What's wrong with sprintf? -- Martin Jambon http://martin.jambon.free.fr...
Martin Jambon
BioMim
Offline Send Email
Feb 5, 2007
6:05 am
7192
Am Sun, 4 Feb 2007 22:02:15 -0800 (PST) ... I thought sprintf was not type safe whereas string_of_float was but I found out that sprintf seems to be type safe...
Christian Lerrahn
js.fan
Offline Send Email
Feb 5, 2007
10:34 am
7193
Shalom. I want to make a function that takes argument of type "('a, 'b, 'c) format" (or "... format4"), all following arguments, and silently ignores them all,...
dmitry grebeniuk
dmitrygrebeniuk
Offline Send Email
Feb 5, 2007
1:24 pm
7194
Hello all, According to the latest (3.09) Objective Caml manual, (*) is the multiplication function int->int->int, just like (+) or (/). My toplevel begs to...
roparzhhemon
Offline Send Email
Feb 5, 2007
3:00 pm
7195
Just put a space between the asterisk and the parens: # ( * );; - : int -> int -> int = <fun> Debo ... [Non-text portions of this message have been removed]...
Michael DiBernardo
mikedebo_ca
Offline Send Email
Feb 5, 2007
3:08 pm
7196
... You must put spaces to disambiguate: ( * ) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists ...
Jon Harrop
harropjon
Offline Send Email
Feb 5, 2007
3:10 pm
7197
This is due to the syntactic ambiguity, since comment in OCaml also begins with "(*". Extra spacing will help it recognize. # ( * );; - : int -> int -> int =...
code17
code_1977
Offline Send Email
Feb 5, 2007
3:20 pm
7198
you need to write it with a space: ( * ) cheers, Michael...
micha
scheischeischei
Offline Send Email
Feb 5, 2007
4:40 pm
7199
... The only dangerous thing with the printf functions is that partial applications used to not work as expected, but it's not the case anymore. If I recall...
Martin Jambon
BioMim
Offline Send Email
Feb 5, 2007
6:53 pm
7200
Hi, I believe I have good news for you. The Ocaml team is very aware of the issue but because they have said that concurrent GC is out of question for now and...
mtthfntn
Offline Send Email
Feb 5, 2007
7:59 pm
7201
Hello It seems that the string argument of failwith has a limited length. Where is this documented ? Thanks Francois Colonna...
Francois Colonna
colonna_fran...
Offline Send Email
Feb 9, 2007
3:38 pm
7202
Hello, Le ven 09 fév 2007 16:32:14 CET, ... All ocaml strings have a limited length (namely Sys.max_string_size as its name suggests), but you can pass such a...
Virgile Prevosto
virgilepr
Offline Send Email
Feb 9, 2007
4:01 pm
7203
I have one connected socket and two threads. 1. thread should wait for data, do recv and process the result as soon as any data is available 2. thread should...
Dawid Toton
dawidtoton
Offline Send Email
Feb 9, 2007
6:03 pm
7204
Hi OCaml programmers ! Coming from C++ beginner, I try to forget - for a time - oo use and to focus on modules. I hope to reuse "show_array" code : let...
fabrice.marchant
fabrice.marc...
Offline Send Email
Feb 9, 2007
10:34 pm
7205
... If you had a library of functions that all worked on a given type, you could use functors. But for a single function, passing the printer as a parameter...
Karl Zilles
kzilles
Offline Send Email
Feb 9, 2007
11:00 pm
7206
... Hi, You really should use the printf family of functions from the Printf module or from the Format module. ... Here is what I would write: open Printf let...
Martin Jambon
BioMim
Offline Send Email
Feb 9, 2007
11:30 pm
7207
Karl and Martin, thanks ! ... I'm very interested in reading such previous topics. Maybe I have to search "generic" word ? Please Karl, do you have other clues...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Feb 10, 2007
3:28 pm
7208
... Basically, whenever you define or use a type that you're going to want to be able to convert into string format, you write a string_of_foo function. For ...
Jon Harrop
harropjon
Offline Send Email
Feb 10, 2007
4:00 pm
7209
Howdy! I've run into this exact problem. One solution is to compile your program using the cygwin environment, which will give caml a POSIX environment under...
jshaw10
Offline Send Email
Feb 10, 2007
10:22 pm
7210
... Yes. However the term "partial application" is more appropriate than "partial evaluation", because it doesn't do anything with the body of the function...
Martin Jambon
BioMim
Offline Send Email
Feb 11, 2007
3:50 am
7211
Thank you, John and Martin for the explanations and the examples of partial functions ! They are very useful for me. ... John, I would be glad to buy your book...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Feb 11, 2007
12:16 pm
7212
Hi, The LISPers threw a programming contest for the upcoming International Lisp Conference (ILC 2007) in Cambridge U.K. The contest is a cute card game called...
drehman27
Offline Send Email
Feb 11, 2007
4:08 pm
7213
Hi ! In order to learn OCaml, I begin to program toy applications. For example : the knight that runs one times on each square of the chess board. Here is the...
fabrice.marchant
fabrice.marc...
Offline Send Email
Feb 11, 2007
4:44 pm
7214
2007/2/11, fabrice.marchant <fabrice.marchant@...>: [...] ... [...] ... You fell in the object trap : objects are slower in ocaml than the rest of the...
Remi Vanicat
dl_ens
Offline Send Email
Feb 11, 2007
6:06 pm
7215
Thanks Remi ! ... plain I remember that John Harrop's warned me about this. As soon as I fix my debian system that is down today, I rewrite the program in...
fabrice.marchant
fabrice.marc...
Offline Send Email
Feb 12, 2007
10:00 am
7216
I've got some rather large records that contain a bunch of OpenGL vertex information. These also have associated textures. Sometimes these get 're-skinned'...
Grant Olson
olsongt@...
Send Email
Feb 13, 2007
9:46 pm
7217
... the {md3 with surfaces=new_surfaces} contruct make a copy of the old md3. Then all a record really contain in the "C" meaning of contain, is integer and...
Remi Vanicat
dl_ens
Offline Send Email
Feb 13, 2007
10:05 pm
Messages 7188 - 7217 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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