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 12225 - 12254 of 13890   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
12225 vincent
vincent.arav... Send Email
Oct 14, 2010
2:57 pm
That's it: $cat Makefilebuild: ocamllex apacheLogLex.mll ocamlyacc apacheLogParse.mly ocamlfind ocamlc -package ...
12226 vincent
vincent.arav... Send Email
Oct 14, 2010
2:59 pm
(resending due to crazy formating) That's it: $cat Makefilebuild: ocamllex apacheLogLex.mll ocamlyacc apacheLogParse.mly ocamlfind ocamlc -package ...
12227 Chris Yocum
cyocumflickr Send Email
Oct 14, 2010
3:03 pm
Great! Thank you very much Vincent. I will do as you suggest. I had moved the parsing function into ApacheLog which triggered the circular dependency. Chris...
12228 Sylvain Le Gall
gildor16478 Send Email
Oct 14, 2010
3:15 pm
... You create a circular build dependencies between ApacheLog and ApacheLogParse. There is probably a better way, but the most simple solution is to create a...
12229 Gaius Hammond
gaius@... Send Email
Oct 14, 2010
7:28 pm
... The bad news is: no The good news is: the developers are great, I'm sure if you have a specific question they'd be happy to help ...
12230 Ashish Agarwal
ashish_a1975 Send Email
Oct 15, 2010
2:04 pm
I wrote the following OCaml script to remove a directory from my PATH. However, the change is not visible in the shell from which I called the script, which is...
12231 Sylvain Le Gall
gildor16478 Send Email
Oct 15, 2010
2:20 pm
... Unix.putenv modifies the env of the running process. In this case, it modifies the env of the running ocamlscript -- not of the parent process, which is...
12232 Eric Cooper
ecc@... Send Email
Oct 15, 2010
4:16 pm
... No. (This is basic UNIX behavior; it has nothing to do with OCaml.) The environment is copied from a a process to its children when they are created;...
12233 Ashish Agarwal
ashish_a1975 Send Email
Oct 15, 2010
7:41 pm
Thanks for the replies. ... [Non-text portions of this message have been removed]...
12234 Arlen Cuss
celtic@... Send Email
Oct 15, 2010
11:13 pm
Hi all, I'm having a little difficulty with weak types appearing in some code of mine. I'm trying to define a variable local to a function, like this: # let f...
12235 Arlen Cuss
celtic@... Send Email
Oct 15, 2010
11:17 pm
I'm starting to answer my own question; it's clearly to do with there being a mutable value in the closure: # type what = {a:int};; type what = { a : int; } #...
12236 vincent
vincent.arav... Send Email
Oct 15, 2010
11:37 pm
Hi Adrien, that one works: # let f g = let k = ref [0] in g ();; Warning Y: unused variable k. val f : (unit -> 'a) -> 'a = <fun> the idea is to perform a...
12237 Arlen Cuss
celtic@... Send Email
Oct 16, 2010
12:04 am
Hi Vincent, Whoops! That was probably the most obvious solution. ... I get it now :-) ... No, I think you're absolutely right. If the function wasn't weak in...
12238 Gaius Hammond
gaius@... Send Email
Oct 16, 2010
10:31 am
... No, remember that processes have a parent-child relationship. So you have shell(environment1) ---> ocaml (environment1&#39;) Where 1' is a clone of 1 at the...
12239 Arlen Cuss
celtic@... Send Email
Oct 16, 2010
12:02 pm
... But you can use back-ticks! (** sample.ml **) open Str;; let path_list = split (regexp ":") (Unix.getenv "PATH") in let filtered_path = String.concat ":"...
12240 Gaius Hammond
gaius@... Send Email
Oct 16, 2010
12:20 pm
... Very clever! G [Non-text portions of this message have been removed]...
12241 oliver@... Send Email Oct 18, 2010
2:49 pm
Hello, what must be done, when changing from ocamllex to ulex? Is it easy to change or does it need a lot of changes in my code or Makefile? Ciao, Oliver...
12242 jackbergus
giacomo.bergami Send Email
Oct 20, 2010
9:00 pm
Hi all, I've realized a simple C-pseudocode to C compiler in order to easily implement concurrent programming: the problem is that this returns the empty...
12243 Chris Yocum
cyocumflickr Send Email
Oct 20, 2010
9:06 pm
Hi Giacomo, I don't have an answer to your direct question but I see your inttostring function is already implemented in Pervasives as int_to_string. I would...
12244 Ashish Agarwal
ashish_a1975 Send Email
Oct 21, 2010
8:36 pm
The ocaml compiler as well as some other projects have .mlp files. They are also supported by Tuarage mode. But what are they? I have not a found a description...
12245 Adrien
camaradetux Send Email
Oct 21, 2010
8:56 pm
Hi, As far as I know, these files are meant to be pre-processed first. Usually, by a tool like sed. If I remember correctly, ocaml uses them for the configure...
12246 Giandomenico
gidesay Send Email
Oct 22, 2010
5:26 pm
Hello, I tried to compile the ODBC interface found on: http://home.gna.org/ocamlodbc/ The last version is three years old: I compiled with the 3.11 version of...
12247 Ashish Agarwal
ashish_a1975 Send Email
Oct 25, 2010
6:52 pm
... Foo Bar I wanted to temporarily avoid compilation of Bar so changed this to. ... Foo (* Bar *) Actually, I don't know if commenting out like this is...
12248 Sylvain Le Gall
gildor16478 Send Email
Oct 25, 2010
8:51 pm
Hello, ... The comment is '# ' at the beginning of a line: Foo # Bar really comments Bar ... Don't forget that if Foo has a reference on Bar, you will still...
12249 Ashish Agarwal
ashish_a1975 Send Email
Oct 25, 2010
10:21 pm
Thanks. Commenting with # works, although I haven't seen this mentioned in the documentation. There do seem to be parsing quirks however. I created the...
12250 Michael Ekstrand
michael@... Send Email
Oct 26, 2010
12:59 am
... The parser ocamlbuild uses for files such as .mlpack is very simple - it basically just lexes things into whitespace-separated words after stripping...
12251 zubeen
zubinlalani Send Email
Oct 27, 2010
9:54 am
I am working on a module which involves working on a set of natural numbers. As a result I need to model some n of type integer. How can I go about it? Eg. sum...
12252 Ashish Agarwal
ashish_a1975 Send Email
Oct 27, 2010
4:06 pm
Firstly, you can simply define a function: # let sum_to_n n = n*(n+1)/2;; value sum_to_n : int -> int = <fun> And now use it: # sum_to_n 5;; - : int = 15 But...
12253 Ashish Agarwal
ashish_a1975 Send Email
Oct 27, 2010
4:08 pm
Typo: where I wrote Nat.int, should have been Nat.t. ... [Non-text portions of this message have been removed]...
12254 Erick Matsen
slothkisser Send Email
Oct 28, 2010
7:53 pm
Hello there folks--- I've recently switched to GODI and like it a lot. However, I seem to be having trouble getting ocamlrun to find dlls, and I don't seem to ...
Messages 12225 - 12254 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