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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 8890 - 8919 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
8890
In ocamlopt documentation says, the -p switch is only supported in UNIX. I'm not sure it rules out Cygwin. Besides ocamlopt -p, adoes anyanyone have experience...
Onur Ozyer
onurozyer
Offline Send Email
Nov 1, 2007
6:15 pm
8891
Hi ! Please have you got some simple examples that demonstrate the use of Thread library ? I've seen very few Ocaml things on this subject. Moreover, I've...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 2, 2007
11:45 am
8892
... Danger Will Robinson! It's very hard to write threaded code correctly[1], they're hard to debug it when things inevitably go wrong, and on OCaml you don't...
Richard Jones
rwmjones
Offline Send Email
Nov 2, 2007
2:09 pm
8893
Hello, someone looked for a simple Threading-example in OCaml. One simple example of using threads in OCaml is this one: ...
Oliver Bandel
oliver@...
Send Email
Nov 2, 2007
4:44 pm
8894
I played with OcaIDE, and OCaml plugin for Eclipse. One of the best features of the plugin is a list of functions (and anything else you bind with let) and...
paulbutler_ca
Offline Send Email
Nov 2, 2007
5:58 pm
8895
... You're referring to type annotations that are obtained by compiling with the -dtypes flag. Many development environments including emacs use the generated...
Jon Harrop
harropjon
Offline Send Email
Nov 2, 2007
6:54 pm
8896
... Wow, that sounds really useful. ... There is "ocamlc -i", which prints an interface from a .ml file - maybe that does what you want. It doesn't understand...
Dave Benjamin
ramenboy420
Offline Send Email
Nov 2, 2007
9:44 pm
8897
Thanks Rich, On Fri, 2 Nov 2007 14:09:05 +0000 ... A bit like : "- I've such problem about a class." -> "- Are you sure you want to discover object-oriented...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 2, 2007
10:22 pm
8898
Thanks Jon and Dave, that is exactly what I needed. ... It is quite useful, here is a link if you are interested: http://ocaml.eclipse.ortsa.com:8480/ocaide/ I...
paulbutler_ca
Offline Send Email
Nov 3, 2007
2:59 am
8899
I want to be able to run a .ml file through the ocaml interpreter. The file in question refers to other files with the "open Test" synatx where Test is the...
paulbutler_ca
Offline Send Email
Nov 3, 2007
3:08 am
8900
... Hi Oliver ! ... Thanks a lot for this ! Yes, it is a well chosen interesting example ( that works fine to invoke my text editor. ) I think it is a good...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 3, 2007
8:54 am
8901
... You should first notice that the ocaml toplevel is not meant to be a way to easily run .ml file, but only as way to try thing when developing program....
Remi Vanicat
dl_ens
Offline Send Email
Nov 3, 2007
8:57 am
8902
... I posted a concurrent ray tracer on the caml-list a few months ago: http://alan.petitepomme.net/cwn/2007.06.12.html I do not have thread examples but I...
Jon Harrop
harropjon
Offline Send Email
Nov 3, 2007
9:53 am
8903
... Fine that it's useful. :) ... [...] For learning? -> yes. For hacking? -> yes, but the code is GPLed. I recommend you to take a look into Butenhof's book....
Oliver Bandel
oliver@...
Send Email
Nov 3, 2007
11:52 am
8904
You can first compile test.ml and then do #load "test.cmo". After that, module Test will be in scope in the toplevel. You can also load cmo files when starting...
Ashish Agarwal
ashish_a1975
Offline Send Email
Nov 3, 2007
12:33 pm
8905
To Fabrice, I will third the suggestion of buying W. Richard Steven's book. It sounds like you need to familiarise yourself with the available options...
Richard Jones
rwmjones
Offline Send Email
Nov 3, 2007
2:56 pm
8906
... [etc] The core problem -- and a very common one -- is that you want to write a program that does some large amount of work (the cellular automaton) but...
Richard Jones
rwmjones
Offline Send Email
Nov 3, 2007
3:38 pm
8907
Thanks. I understand now that I am not using the toplevel correctly, so I wrote a basic script to compile and run the program: #!/bin/bash rm -f cas.cmo...
paulbutler_ca
Offline Send Email
Nov 3, 2007
4:23 pm
8908
... So in cas.ml, you are calling Exp. Is that right? The second command you gave "ocamlc -c exp.cmo cas.ml" should work. Are you sure you recompiled ...
Ashish Agarwal
ashish_a1975
Offline Send Email
Nov 3, 2007
4:55 pm
8909
... Also, you don't need to include the cmo file if you are just compiling. ocamlc looks for cmo files in the current directory (and directories included by...
Ashish Agarwal
ashish_a1975
Offline Send Email
Nov 3, 2007
4:57 pm
8910
... [...] ... You're linking them in the wrong order. You need to make sure that dependent modules / libraries are listed first (the opposite way round to how...
Richard Jones
rwmjones
Offline Send Email
Nov 3, 2007
4:58 pm
8911
... [...] APUE does not cover Threads. But APUE is a *must* for (serious) Unix-programming, IMHO. Threads are covered in Stevens Network programming, Vol. 2. ...
Oliver Bandel
oliver@...
Send Email
Nov 3, 2007
5:22 pm
8912
... [...] You made some suggestions... ...let me add my comment: When you use different processes, commands can be written to the automaton/graphics-machine...
Oliver Bandel
oliver@...
Send Email
Nov 3, 2007
5:34 pm
8913
Thanks, changing the order of .cmo files to ocamlc made things work. I didn't realize that the order mattered, but I get it now. I will look into the build...
paulbutler_ca
Offline Send Email
Nov 3, 2007
5:50 pm
8914
On Sat, 3 Nov 2007 12:52:42 +0100 ... I never think to another license : GPL forever ! ... Thanks a lot, but I realize I must use threads only, if I want some...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 4, 2007
1:23 am
8915
Thanks a lot Jon, ... I knew the ray tracer you used to benchmark the verbosity and speed of languages. ... With Oliver's example, I've two know. The other one...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 4, 2007
1:23 am
8916
On Sat, 3 Nov 2007 14:56:27 +0000 ... Thanks a lot Rich, I agree that I've almost all to learn about this subject. Reading O'Reilly book, I've realized it...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Nov 4, 2007
1:23 am
8917
Hi, ... Notice Vim deals with .annot files (see eg. http://www.vim.org/ scripts/script.php?script_id=2025). Furthermore the functionality you are so glad to...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Nov 4, 2007
10:18 am
8918
At various times, some of us in the SFBA have met for OCaml, SML97 and Erlang. In our last implementation, we struggled to find a congenial location. It...
ByronHale
byron_hale
Offline Send Email
Nov 4, 2007
10:39 am
8919
... This is not true. OCaml looks for the .cmi files in the search directories when compiling. Rich. -- Richard Jones Red Hat...
Richard Jones
rwmjones
Offline Send Email
Nov 4, 2007
11:16 am
Messages 8890 - 8919 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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