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

Messages

Advanced
Messages Help
Messages 794 - 824 of 13897   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
824 Remi VANICAT
dl_ens Send Email
Feb 14, 2003
1:33 am
... Well, in this case, it seem that Flavio wanted to put every thing in a container class. As it seem good style for me (and not so difficult), I stayed to...
823 Stalkern 2
stalkern2 Send Email
Feb 13, 2003
10:43 pm
... My point is a paedagogic one. My first purpose is that Flavio and whoever else (including me) can start: to start, I think that things would rather be made...
822 Remi VANICAT
dl_ens Send Email
Feb 13, 2003
5:41 pm
... First, don't forget that if an application have any interested, it have a big probability to evolved. SO a class created in it is not a "use once and...
821 Flavio
FlavioGrossi@... Send Email
Feb 13, 2003
2:12 pm
On Thu, 13 Feb 2003 13:01:53 +0100 Remi VANICAT ... Sure, it was just an example class. In the real program (well, just an excercise for learning) I'm trying...
820 Stalkern 2
stalkern2 Send Email
Feb 13, 2003
1:22 pm
... Foreword: I know that mlglade builds classes like this. However, I don't consider it as a "clean" practice, because encapsulation of structure and data is...
819 Remi VANICAT
dl_ens Send Email
Feb 13, 2003
12:08 pm
... One can believe to be good style for the interface to use the same paradigm than the library used for the interface. Gtk is object so... ... Absolutely...
818 Remi VANICAT
dl_ens Send Email
Feb 13, 2003
12:00 pm
... I would write it that way : class twoButtons ?packing ?show () = let vbox = GPack.vbox ?show ?packing () in let button1 = GButton.button ~show: true...
817 Stalkern 2
stalkern2 Send Email
Feb 13, 2003
11:08 am
... If you're working with Gtk, you don't need to write everything at class level. Moreover, in case you want to write everything at class level, you should do...
816 Flavio
FlavioGrossi@... Send Email
Feb 13, 2003
10:09 am
... Ok, thanks. So instead of: # class twoButtons ?packing ?show () = object (self) val vbox = GPack.vbox ?show ?packing () val button1 = GButton.button ~show:...
815 Stalkern 2
stalkern2 Send Email
Feb 13, 2003
8:10 am
... Why not? ;-)) # class aClass = object (self) val x = 1 val mutable y = 1 method showX = x method showY = y method setY = (y <- (x + 1)) initializer self...
814 Flavio
FlavioGrossi@... Send Email
Feb 12, 2003
5:35 pm
Hello all, Sorry for the silly question, but I have just started with OCaml (and after all I haven't found any pre-beginner ocaml list :). Why can't I do this?...
813 lambdawannabe <sha...
lambdawannabe Send Email
Feb 12, 2003
12:16 pm
Hello, I have successfully compiled ocaml with CygWin and MingW. Now it is possible to optimise my ocaml sources with the MingW gcc compiler as linker. The...
812 Stalkern 2
stalkern2 Send Email
Feb 12, 2003
11:19 am
I have solved the issue by inserting in the makefile a sed 's/\.\.&#92;///g&#39; | sed 's/usr&#92;/share&#92;/pixmaps/\/usr&#92;/share&#92;/pixmaps/g' command that strips all "../"s ...
811 Stalkern 2
stalkern2 Send Email
Feb 11, 2003
10:44 am
... telling the path where to look for files to include is not enough for compiling. You have to tell also the actual files (e.g. pxp_engine.cma, ...
810 Mike Tikiliainen <...
mtikilia Send Email
Feb 10, 2003
8:07 pm
Hello list, I have driven myself into a stupor trying to get a simple PXP example to _compile_. I guess it is a schoolboy error but I have so far spent a day...
808 Michel Quercia
michel.quercia@... Send Email
Feb 8, 2003
6:45 pm
Le Sat, 8 Feb 2003 19:16:01 +0100 "pame_la@..." ... let u,v = a in f := u; g := v;; -- Michel Quercia 23 rue de Montchapet, 21000 Dijon ...
807 pame_la@... Send Email Feb 8, 2003
6:16 pm
Hi all, my problem is this: let r = let a= ("b" , "c") in let f = ref "" in let g = ref "" in f:= fst a; g:= snd a; !f,!g;; val r : string * string = "b", "c" ...
806 Mattias Waldau
mattias.waldau@... Send Email
Feb 7, 2003
8:10 am
If I am not completelty wrong, your algorithm is O(n^2). It looks like some kind of backwards insertion-sort. If you do not want to use my trick with the...
805 mtikilia <mt99@......
mtikilia Send Email
Feb 6, 2003
9:06 pm
Re: permutations of a list: Thanks for everyone's help, it was very useful. I've also managed to battle out a different solution, which I thought was also...
804 Frederic van der Plan...
fplancke2001 Send Email
Feb 6, 2003
1:25 pm
... I guess the reason is that before you can build an array, you have to know its size. That is, you need to have performed the filtering. So, basically the...
803 dr271828 <dr271828...
dr271828 Send Email
Feb 6, 2003
1:17 pm
Hi guys, I'm new to Ocaml. I was trying to code something just for becoming confident with Ocaml and I was wondering why some function that apply to lists has...
802 Mattias Waldau
mattias.waldau@... Send Email
Feb 5, 2003
8:20 pm
Just sort with a random compare predicate and you get an unordered list. I asked a professor on algorithms, and he said that the worst that could happen is...
801 Michel Quercia
michel.quercia@... Send Email
Feb 5, 2003
6:23 pm
Le Wed, 05 Feb 2003 13:48:11 -0000 "mtikilia <mt99@...>" ... You can use something like this : (* insert x at all positions into l and return the list...
800 mtikilia <mt99@......
mtikilia Send Email
Feb 5, 2003
1:48 pm
This is rather embarassing but I have found myself unable to produce a function that would give me a list of lists which are all available permutations of...
799 Remi VANICAT
dl_ens Send Email
Feb 4, 2003
10:03 pm
... Well it is not the only reason. The fact that the result of the recursive call is the tail of the new list is the other one. Remark that the original...
798 Michel Quercia
michel.quercia@... Send Email
Feb 4, 2003
8:57 pm
... You can try this : let rec input_lines chan = try let l = input_line chan in l::(input_lines chan) with _ -> [] ;; Note that you may run out of stack space...
797 oliver@... Send Email Feb 4, 2003
8:15 pm
Hello, I want to read a file into a list. ######################################### type read_file = Line of string | ENDE let rec ap chan li = let res = try ...
796 Johann Spies
jspies@... Send Email
Feb 3, 2003
2:53 pm
... Thanks Remi. It seems that I am a slow learner. I have made this mistake before. Regards. Johann -- Johann Spies Telefoon: 021-808 4036 ...
795 Remi VANICAT
dl_ens Send Email
Feb 3, 2003
1:57 pm
... this is not a function. It take no argument. This compute (immediately) if !ver then begin print_string "Version 1.0"; print_newline() end which value is...
794 Johann Spies
jspies@... Send Email
Feb 3, 2003
1:15 pm
I am trying to understand how to use the Arg module. In the following code the string parameters work as I expected it, but not the switches: ...
Messages 794 - 824 of 13897   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

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