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.
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 7908 - 7937 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7908
... Hash: SHA1 Ha! You're brilliant. That's exactly what I wanted. I didn't know you had to explictly enable recursive types. Why isn't this enabled by...
Peng Zang
peng.zang@...
Send Email
Jun 1, 2007
11:55 pm
7909
Hello all, I should like to know more about subtyping polymorphism and OCaml ( if I'm not the only OCaml programmer in the world that worries about the...
roparzhhemon
Offline Send Email
Jun 3, 2007
7:43 am
7910
Shalom, roparzhhemon. r> The typical case is when you have two types, one of which r> is a "large" subtype of the other (e.g. 'a r>...
dmitry grebeniuk
dmitrygrebeniuk
Offline Send Email
Jun 4, 2007
7:32 am
7911
Has anyone had success using ocamlnet 2.2.7's nexplex (under godi) on Mac OS X (Tiger)? Details below, but I'm not yet terribly interested in debugging my ...
Mike
mrbbus
Offline Send Email
Jun 4, 2007
9:17 am
7912
... This has nothing to do with Godi. Search for ocamlnet in the archives of caml-list, I recommend the fa.caml Google Group. ... Most definitely. Thanks, Joel...
Joel Reymont
jreymont
Offline Send Email
Jun 4, 2007
9:36 am
7913
... Certainly, I never said otherwise (in my original post I talked about an "incomplete feature"). What you cannot do in OCaml, for example, is subtype an...
roparzhhemon
Offline Send Email
Jun 4, 2007
11:39 am
7914
... I think you mean that you may only create subtypes of certain (subtypable) OCaml types. You cannot create a subtype of any OCaml type, of course. ... What...
Jon Harrop
harropjon
Offline Send Email
Jun 4, 2007
12:16 pm
7915
Hi, I'm using Marshal module to send Ocaml objects through the internet. The code was "borrowed" from "Developing Applications with OCaml" (...
agrings
Offline Send Email
Jun 4, 2007
1:59 pm
7916
... Are you using the same compiler binaries on both client and server? Are they identical architecture and OS? -- Dr Jon D Harrop, Flying Frog Consultancy...
Jon Harrop
harropjon
Offline Send Email
Jun 4, 2007
2:11 pm
7917
... I'm afraid to say that probably you shouldn't use Marshal to send data between hosts. It's not generally a safe thing to do; and differences in the...
Richard Jones
rwmjones
Offline Send Email
Jun 4, 2007
2:19 pm
7918
... For the benefit of future searches of the ocaml-beginners list: Relevant threads are: (April, May 2007( ...
Mike
mrbbus
Offline Send Email
Jun 4, 2007
4:38 pm
7919
Hello, I've been hacking a bit in Ocaml lately, but I've had a lot of trouble writing a good makefile as I have done for my C projects. Problem 1: ocamlc...
Luke McCarthy
shaurz
Offline Send Email
Jun 4, 2007
9:27 pm
7920
... I don't think there is a simple solution to this one. The new ocamlbuild copy all source file in a new directory before the build, something similar could...
Mathias Kende
mathias@...
Send Email
Jun 4, 2007
9:45 pm
7921
... As Mathias said, I don't think there's a good solution to this. Is it really necessary? ... For libraries, definitely install findlib (the command is...
Richard Jones
rwmjones
Offline Send Email
Jun 4, 2007
10:19 pm
7922
... Something I didn't understood : aren't those 2 points solved by ocamlbuild ? Or maybe I did not understood the question ? Vincent...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jun 4, 2007
10:51 pm
7923
... http://en.wikipedia.org/wiki/Algebraic_data_type What I would like to do is define a type in the interface like so: type foo = Foo | Bar of int and use the...
shaurz
Offline Send Email
Jun 4, 2007
11:31 pm
7924
... Yes, it would be better if you could write the definition in the source file and write: type foo = ... in the interface file. Note that you can make the...
Jon Harrop
harropjon
Offline Send Email
Jun 4, 2007
11:45 pm
7925
... You're right, I forgot those ... but "objects are slow and seldom used in OCaml" (Richard Jones dixit ) so i don't use them unless I see a good reason to ...
roparzhhemon
Offline Send Email
Jun 5, 2007
7:38 am
7926
... Sounds like you really would benefit from using objects to represent your data structures. Jacques Garrigue has already wrapped several data structures in ...
Jon Harrop
harropjon
Offline Send Email
Jun 5, 2007
10:35 am
7927
... I haven't really looked at ocamlbuild, but possibly it is. Rich. -- Richard Jones Red Hat...
Richard Jones
rwmjones
Offline Send Email
Jun 5, 2007
1:54 pm
7928
... Don't take what I say too literally! Please test it, and if it's fast enough for you then that is fine. Unless you're calling #methods from tight inner...
Richard Jones
rwmjones
Offline Send Email
Jun 5, 2007
2:01 pm
7929
... That's the way it works. The .mli file documents the signature you want to export, and the .ml file is the implementation of that. You could have some...
Richard Jones
rwmjones
Offline Send Email
Jun 5, 2007
2:02 pm
7930
Shalom, Jon. JH> Regarding performance, it may not be significant because JH> method calls are unlikely to be in the inner loop. If only one method call will...
dmitry grebeniuk
dmitrygrebeniuk
Offline Send Email
Jun 5, 2007
2:31 pm
7931
... The distinction is not clear to me. Any loop or even any task working on one or several objects must call a #method somewhere, mustn't it ? Could you...
roparzhhemon
Offline Send Email
Jun 5, 2007
3:17 pm
7932
... Iterating over the elements of your list class will work like this: # let print_seq seq : unit = seq#iter print_endline;; val print_seq : < iter : (string...
Jon Harrop
harropjon
Offline Send Email
Jun 5, 2007
5:05 pm
7933
Hello. I need to write floating point values to a binary file. The file must be in a specific format for compatibility with outside applications, and the...
Charles Buchinski
chasb21
Offline Send Email
Jun 5, 2007
6:07 pm
7934
... If you can mmap the file, then you might be able to use Bigarray (Bigarray.float32_elt). Other than that, this is definitely a question for Jon to...
Richard Jones
rwmjones
Offline Send Email
Jun 5, 2007
6:24 pm
7935
... I think the easiest solution is probably to code that bit in C. The Bigarray module does provide 32-bit float storage but I'm not sure you can dissect it ...
Jon Harrop
harropjon
Offline Send Email
Jun 5, 2007
6:25 pm
7936
... The Int32.bits_of_float function return the int32 whose bits contain the float in single precision. ... through the C level (which may be easier though). ...
Mathias Kende
mathias@...
Send Email
Jun 5, 2007
7:31 pm
7937
Hi all, hope all is well I wondered if anyone had an idea of how to get around needing a hashtable in which all the keys are strings, but, the values may be of...
mo.deeq
Offline Send Email
Jun 5, 2007
8:56 pm
Messages 7908 - 7937 of 11541   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