(** Hi, Can anyone explain the meaning of the error message: The class type object method virtual tagged : [> ] end is not matched by the class type [_[> ]]...
Your report isn't much use without showing us the error message which is printed. It doesn't print out error messages for fun. Rich. -- Richard Jones, CTO...
... If I remember correctly on win32 you need an assembler installed for ocamlopt to work. The one in MSVC works. Maybe the one in the Express Edition works...
The compilation with ocamlopt now works fine for me, with as.exe , gcc.exe ... from cygwin. That doesn't work with MinGW installed with MinGW-4.1.0.exe ! ...
Dear all, I solved my problems about I told you in my previous mail titled "imperative and functional", but probably I'm not at all inside the spirit of...
Lecca Paola
lecca@...
Jul 5, 2005 3:39 pm
3730
Hi, ... List.flatten ... let multi_combine = List.fold_left (@) [] or let rec multi_combine l = match l with [] -> [] ... Christoph Bauer...
Bauer, Christoph
Christoph.Bauer@...
Jul 5, 2005 3:46 pm
3731
I tried to use the Graphics module in MacOS X. AFAIU that uses X11 for graphic output, I have X11 installed and started the X11 server, but it didn't work I...
... ^^ ^^^^^^^^^ A B One of A (l1) and B (List.hd l) is problably too much (and it's probably B). In B, l is the l bound one line above in the match...
... You're almost there. You just needed a different (simpler!) last line: l1 @ (multi_combine l) or even just: l1 @ multi_combine l Functional programming is...
... I'd recomming using OpenGL via lablGL. But if you want to stick with the Graphics module then I'd recommend passing the empty string to the "open_graph"...
Seems like each Windows version requires a different install process for OCaml native compilation, this can be discouraging, beginners can't test OCaml full...
Holger, you need to set the DISPLAY environment variable manually if you are trying to start your program from Terminal. If you start your program from the...
Dear all, again I disturb you with my elementary questions. I found this function for the enumeration of elements in a list: I don't understand what the...
Lecca Paola
lecca@...
Jul 6, 2005 11:45 am
3738
... I do not understand what that is and how that works. _How_ do I use OpenGL via something? ... Doesn't help. ... Nope. I was asked by a colleague, if he can...
... I'm a bit confused about what you're trying to achieve. The function that you've found is reasonably similar to the one in ExtList called ExtList.enum...
... There are examples in the lablgl source. Also my ocamlode library contains an example where a lablgl context is embedded into an ocamlsdl window. ...
... Thanks. I'll take a deeper look, when I can afford. Now it wold be usefull to make the examples, which run on Linux, run on MacOS X. So we could use them...
... OpenGL is the industry standard graphics API. It supports 2D and 3D graphics, hardware acceleration and runs on almost any computer (from palmtops to ...
... Note that the examples from my book have downloadable Mac OS X binaries as well as Linux. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Technical...
... Neither nor, I use the tuareg mode in emacs to sent expressions to an O'Caml shell. That is a fine environment for testing and presenting. Additionally I...
... Yes, it works from a xterm, but that su**s, coss you have no syntax higlighting and Copy ans paste doesn't work and I even can't use cursor keys to edit...
... No, only the functions "fst" and "snd" instead of "#1" and "#2". -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Technical Presentation Software ...
... If you are using bash (The default shell under 10.4/10.3) edit your .bash_profile to include this line: export DISPLAY=:0.0 Then create a new Terminal...
Dear all, I'm dealing now with the problem of finding all the combinations between the elements of a list of lists. For example, suppose to have let l1 = [...
Lecca Paola
lecca@...
Jul 7, 2005 6:41 am
3751
... I don't think numbering elements is a good idea for this problem. ... Whenever you can don't use List.nth: it is inefficient and leads to ugly programs. In...
... BTW, this function would get your result shuffled. can you see a simple modification to get exactly what you asked for? IOW, you want: choose_two...
... Thanks for this. It prompts me to ask a question that about something I never fully understood: When to use (like you did in this example) 'function' and...