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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 704 - 733 of 13905   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
704 oliver@... Send Email Jan 3, 2003
12:35 pm
Hello, I want to write tables of values/codes. It is given the number of digits of a code and the number of possible values for each digit (base of the code). ...
705 bwv211mail <bwv211...
bwv211mail Send Email
Jan 7, 2003
11:22 pm
Why do the standard libraries use ";;" between definitions? Is this purely a hangover from an older syntax, or is there a useful purpose served? (Ie, should I...
706 Issac Trotts
issac_trotts Send Email
Jan 8, 2003
12:19 am
... It has at least two advantages: 1) It makes explicit your wish to end a top-level statement. This tends to make the compiler generate more understandable...
707 Stalkern 2
stalkern2 Send Email
Jan 8, 2003
11:56 pm
... Hello to everybody and Happy New Year to all. I've gone a long way round trying to make my way out of GTK and long holidays... here are my discoveries. 1)...
708 Remi VANICAT
dl_ens Send Email
Jan 9, 2003
10:05 am
Stalkern 2 <stalkern2@...> writes: [...] ... [...] ... well, It would be better to use a mutable instance variable, but yes you mat need mutable state to do...
709 sanderhahn <shahn@...
sanderhahn Send Email
Jan 9, 2003
10:35 am
Hello Everyone, Thank you all for making such a great language/toolset! I am new to this functional programming/OCaml but i already like it al lot. I have...
710 Daniel de Rauglaudre
daniel.de_rauglaudre@... Send Email
Jan 9, 2003
11:04 am
Hi, ... The problem may come from the environment variable CAMLP4LIB. Check it is not set, or set it to "C:\Program Files\Objective Caml\lib&#92;camlp4" -- Daniel...
711 sanderhahn <shahn@...
sanderhahn Send Email
Jan 9, 2003
12:50 pm
Hello Daniel! [Setting CAMLP4LIB environment variable] Yes, that fixed the problem! Sorry for bugging you with beginner questions :-) Thank you! Sander Hahn...
712 Johann Spies
jspies@... Send Email
Jan 9, 2003
1:39 pm
... This is after all a list for beginners:) If you can't ask it here, where would you ask it? Regards. Johann -- Johann Spies Telefoon: 021-808 4036...
713 Stalkern 2
stalkern2 Send Email
Jan 9, 2003
4:27 pm
... I've tried to do that made it in a different way: I could not declare a val mutable using "self" because instances of the same class seem unwilling to use...
714 Remi VANICAT
dl_ens Send Email
Jan 9, 2003
6:31 pm
... It why you have to use a mutable instance : you need to set it to some dummy value, then initializing it to its real value after the construction of the...
715 Dmitry Bely
dbely@... Send Email
Jan 11, 2003
5:26 am
... No, the C compiler binary is hard coded. ... Yes, you will need Cygwin, but the recompilation is pretty straight-forwarward -- just follow readme.win32...
716 spooky_jesse <spoo...
spooky_jesse Send Email
Jan 11, 2003
7:08 pm
The problem is Labltk has a new syntax different than the old Camltk library. You no longer specify the Tk widget attributes using the bracketed syntax as in...
717 spooky_jesse <spoo...
spooky_jesse Send Email
Jan 11, 2003
7:29 pm
Howdy, I don't know what development setup you have, but I highly recommend learning emacs. You can use emacs to leverage the advantage of the ocaml toplevel...
718 spooky_jesse <spoo...
spooky_jesse Send Email
Jan 11, 2003
8:25 pm
I haven't spent a lot of time thinking about your problem but the first thing that popped into my mind was why use a list when you can define your own type...
719 Remi VANICAT
dl_ens Send Email
Jan 13, 2003
10:23 am
... because, generally speaking, it's better to use already define data-structure when you can : it's more readable and there are some function in the stdlib...
720 oliver@... Send Email Jan 13, 2003
10:25 am
Hello, I tried the ocamllex/ocamlyacc-example, which is given in the Ocaml reference manual. It's nice: It needs not much code and works correctly. :) It's...
721 Stalkern 2
stalkern2 Send Email
Jan 13, 2003
11:10 am
... This likely occurs because you have not modified the yacc rules consequently. The types are defined in the type part of the yacc file. They are used in the...
722 Remi VANICAT
dl_ens Send Email
Jan 13, 2003
1:07 pm
... well, in the parser, the lexer return token to the parser (token are the PLUS, MINUS ... INT of int one may add VAR of string if needed (you have to add ...
723 oliver@... Send Email Jan 13, 2003
5:45 pm
Hi, ... Yes, I know. ... Well. I may want it, but maybe I don't want it. In the case I want to solve (the "language"; I want to implement), I only have to set...
724 Remi VANICAT
dl_ens Send Email
Jan 13, 2003
6:59 pm
oliver@... writes: [...] ... Yes [...] -- Rémi Vanicat vanicat@... http://dept-info.labri.u-bordeaux.fr/~vanicat...
725 Stalkern 2
stalkern2 Send Email
Jan 14, 2003
7:22 am
... That is exactly the point: your actions are typed to int, but then you switched to unit. Ocamlyacc won't let you go on this way! A quick and dirty solution...
726 Remi VANICAT
dl_ens Send Email
Jan 14, 2003
11:11 am
... well, the best solution is without any doubt the definition of the string_or_int type and the use of it. -- Rémi Vanicat vanicat@... ...
727 Stalkern 2
stalkern2 Send Email
Jan 14, 2003
3:32 pm
... [...] OK, here I am. Another little -ehm!- point with ocaml + GTK is that it's 99% OOP... now I've read the great ocaml OOP tutorial by Didier Rémy and I...
728 spooky_jesse <spoo...
spooky_jesse Send Email
Jan 15, 2003
8:02 pm
... Yes, but it's surely better to define a tree as type 'a tree = Node of 'a tree * 'a * 'a tree ... Rather than mess with lists and 2n/2n+1 formula... what...
729 oliver@... Send Email Jan 15, 2003
8:30 pm
Hi, ... OK, the confusing thing is, that the lexer (written in lexer.mll) only gives back the values in appropriate types, but the declaration of the types is...
730 sanderhahn <shahn@...
sanderhahn Send Email
Jan 15, 2003
8:37 pm
Hello OCaml/Camlp4-people! I am unable to define an anonymous parser inside my parser when it is ... let s = [<'5; '6; '7>];; let t = [<'3; '3; '3; '3; s;...
731 Daniel de Rauglaudre
daniel.de_rauglaudre@... Send Email
Jan 15, 2003
8:44 pm
Hi, ... It is because it is interpreted as: y = threes; x = parser [<'4>] -> 4 | [<>] -> (0; '5 ?? "'5&#39; expected") To avoid that, write your parser between...
732 Remi VANICAT
dl_ens Send Email
Jan 15, 2003
9:07 pm
... Well, of course, when you need a tree, you have to define it, but, when you need list, you should use those of the stdlib. the type : type 'a code = End of...
733 Stalkern 2
stalkern2 Send Email
Jan 15, 2003
9:35 pm
... Let's stay cool... and step back a little. I know a very sound way of correcting myself :-) It's based upon tracking my moves stepwise, starting from the...
Messages 704 - 733 of 13905   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