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 10024 - 10053 of 13890   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
10024 hmf@...
hugotwo3 Send Email
Aug 18, 2008
7:29 am
... ... Good to have these examples. Makes Jon's explanations much clearer. ... Ok, this is clear. Although in my case I do not compare on the polymorphic 'a....
10025 roparzhhemon Send Email Aug 18, 2008
9:30 am
Hello all, I have a problem with "artificially&quot; created implementation files (i.e. .ml files written using the output_string function instead of by hand);...
10026 roparzhhemon Send Email Aug 18, 2008
10:51 am
... I just found out that applying Str.global_replace(Str.regexp "\000";)("") to the string before providing it to output_string fixes this. Problem solved ... ...
10027 Peng Zang
peng.zang@... Send Email
Aug 18, 2008
11:15 am
... Hash: SHA1 ... Just FYI, objects also allow you to do this. Eg: class type ['a] set = object('self) method mem : 'a -> bool method add : 'a -> 'self ...
10028 roparzhhemon Send Email Aug 18, 2008
1:01 pm
Hello all, the situation is pretty much summed up by the following piece of code in my ocamlmktop-customized toplevel : Objective Caml version 3.09.3 #...
10029 Richard Jones
rwmjones Send Email
Aug 20, 2008
7:00 pm
... The compiler needs to be able to find the cmi file (eg. ordered_variable.cmi) on its search path. When compiling, you have somehow specified this path, but...
10030 Richard Jones
rwmjones Send Email
Aug 20, 2008
7:01 pm
... You don't. You've got a bug somewhere in your program which is somehow adding the \0 character. Unless you post some reproducer code though it's hard to...
10031 kechenghao Send Email Aug 21, 2008
5:06 am
Hello, I'm using ocamlyacc to write a simple parser, I'm confuded about the priority. For instance, I want to parse "a = b==c? 1: 0" into "a = (b==c) ? 1: 0" ...
10032 Christopher Conway
postalchris Send Email
Aug 21, 2008
2:36 pm
You can specify precedence using %left, %right, and %nonassoc directives, with the lowest-precedence operators first. The directives apply to terminals: ...
10033 Sharif Oerton
sharifoerton Send Email
Aug 22, 2008
9:26 am
Greetings; I am extremely new to OCaml and quite new to programming in general, and I'm having quite a lot of trouble writing even simple programs; hopefully...
10034 hmf@...
hugotwo3 Send Email
Aug 22, 2008
9:46 am
Hi Sharif, ... int; y_speed : int; bmp : Sdlvideo.surface };; ... and are accessing its fields as an object. Note that I don't know Ocaml's object system but...
10035 Sharif Oerton
sharifoerton Send Email
Aug 22, 2008
11:30 am
Thank you very much! I foolishly assumed the syntax would be the same, and didn't think to check in the manual. Thanks again! Sharif...
10036 Philippe Strauss
philou@... Send Email
Aug 23, 2008
1:30 am
duh I hate that with ocaml. usually I find it after some times, but not with this one. I have a small ocaml program, using ocaml-jack, a binding for the jack...
10037 Andre Nathan
andrenth Send Email
Aug 23, 2008
1:41 am
Hi Philippe ... In line 25 you have let th = Thread.create gc_stats_thread (); where it seems you want let th = Thread.create gc_stats_thread () in You should...
10038 Richard Jones
rwmjones Send Email
Aug 23, 2008
8:33 am
... I never have this problem because my editor (emacs + tuareg mode) automatically indents code. If I miss a paren, 'in', etc then the indentation shows up...
10039 Sharif Oerton
sharifoerton Send Email
Aug 23, 2008
2:39 pm
Hey all, I'm wondering how I might use ocamldoc if I am using an external library (in this case SDL)? Running ocamldoc -html ../aegraphics.ml gives the error ...
10040 Philippe Strauss
philou@... Send Email
Aug 23, 2008
2:52 pm
... Thank you Andre, it does compile now. But I think I haven't quiet understood fully the "in" scoping keyword. Why do I need it here, my program is almost...
10041 Andre Nathan
andrenth Send Email
Aug 23, 2008
4:29 pm
... I think the easiest way to see it is that since your declaring a new binding for 'th', you have to say in which scope it is valid. Since you don't actually...
10042 Christopher Conway
postalchris Send Email
Aug 23, 2008
7:59 pm
Use: ocamldoc -I PATH_TO_SDL -html ../aegraphics.ml As long as all symbols are linkable, you should be all right. Chris ... library (in this case SDL)? ... ...
10043 Sharif Oerton
sharifoerton Send Email
Aug 24, 2008
1:01 am
Thanks a lot, working perfectly now. Sharif...
10044 sharifoerton Send Email Aug 28, 2008
2:45 pm
Hi all, Sorry to keep bugging the list as I'm learning the language, but: I'm experimenting with OCaml's OO features, and am running into some problems. I have...
10045 Stalkern 2 (Fastweb)
stalkern2@... Send Email
Aug 28, 2008
6:32 pm
... ? If you have a module "Tatileengine&quot; that contains a class camera and that's worth quoting, why should your expression type refer to a module ...
10046 sharifoerton Send Email Aug 28, 2008
6:38 pm
... Apologies; typo - that's what comes from typing out the error message by hand rather than figuring out how to copy and paste from my terminal window...
10047 remi.vanicat@...
dl_ens Send Email
Aug 28, 2008
8:15 pm
... This mean that the Tatileengine.camera class have no method named position of type Tavector.vector, but is used in a place where such a method is needed....
10048 Stalkern 2 (Fastweb)
stalkern2@... Send Email
Aug 28, 2008
8:25 pm
... OK, then, a method position is missing somewhere, either in the code, ore in some interfacing. The error above does not mean that your type is incomplete,...
10049 Sharif Oerton
sharifoerton Send Email
Aug 28, 2008
8:49 pm
... camera#position exists, but it is a data member, not a method - the class is defined as follows: class camera pos speed = object (self) val mutable...
10050 Sharif Oerton
sharifoerton Send Email
Aug 28, 2008
8:59 pm
Thank you! It seems that I had misunderstood something about OCaml's object system - that data members are private. I added a getter and I'm no longer getting...
10051 Savanni D'Gerinel
savanninalkavir Send Email
Aug 28, 2008
9:20 pm
For this entire message, I am working on an OS 10.4 system. I am wanting to write a wrapper around a C library that looks useful to me. In preparation, I am...
10052 remi.vanicat@...
dl_ens Send Email
Aug 28, 2008
10:39 pm
Savanni D'Gerinel <savanni@...> writes: [...] ... you might want to use ocamlc -c math.c to be sure ocaml set all option it need ... you might want to...
10053 Savanni D'Gerinel
savanninalkavir Send Email
Aug 28, 2008
11:37 pm
Thank you! Now I understand... ... Following your advice, I used ocamlmklib to get a list of intermediate steps, then replayed them carefully. That was when...
Messages 10024 - 10053 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