Folks, I have a rule like this in my .mly file: ... My idea is to say that there can be zero or more sections before the end of file. My parser doesn't seem to...
Hi there, I'd like to announce the availability of an user-space implementation of STM library for OCaml. The library is still in its alpha stage, and...
LI Zheng
Zheng.Li@...
Mar 2, 2007 5:30 pm
7391
... Does the current backend try and clever execution strategies (eg. speculatively executing transactions)? Do you plan to support something like MPI? Also, I...
Hi, ... Not yet, there is just one thread back-end at this moment. More accurately, there is no _clever_ strategies here but just a plain one: command line....
Hi, there I'd like to announce the availability of a patch to enhance the OCaml toplevel with addition features. It's available, in the forms of source patch,...
Zheng Li
Zheng.Li@...
Mar 3, 2007 10:46 pm
7394
how do i make a class obj containing a Set of obj? it's like the chicken and egg problem - if i first instantiate the module, obj is undefined, but if i first...
... Do you need to use objects? A much more natural way to express this in functional languages is: type 'a thing = Thing of 'a | List of 'a thing list ...
... You must use mutually recursive modules: # module rec A : sig type t = <get: ASet.t> val compare : t -> t -> int end = struct type t = <get: ASet.t> let...
... is ... for the ... the problem ... sure. i'm trying to write an (initially simple) object database. the rest of this paragraph is some background on this...
... For a long time I've been thinking that it would be nice to have forum for "OCaml software developers", i.e. something which is focused on the practical...
... Can you explain why parts of your solution must be imperative? ... You probably want to write picklers in OCaml too. ... That sounds like your proposed...
... the ... tried ... my ... (basically ... databases are very stateful, so it appears to me that an imperative approach is more fitting. fp is not (too)...
I'd really like to play around ocamldefun, but it seems to only work with ocaml 3.06. Has anyone had luck setting this up in more recent versions of ocaml?...
... Isn't it just a preprocessor for OCaml code, so you can feed any OCaml code through it independent of the compiler? -- Dr Jon D Harrop, Flying Frog...
... I don't have any clear preference. It also depends how much time you can afford. http://www.wikimatrix.org/ is a good starting point. From my experience: *...
Hi list, I was wondering about the layout of my first larger ocaml project. I will need to write different modules and even different programs that make use of...
christian konrad
konrad@...
Mar 9, 2007 2:30 am
7411
Hello, There's a new OCaml mailing-list/forum for OCaml software developers: http://groups.google.com/group/ocaml-developer This forum is centered on practical...
Hi, "updatedb" utility stores file names in /var/cache/locate/locatedb on my Debian Linux. Please does any OCaml library provide easy access to these data ? ...
... It's unlikely. The best bet is to download the source code (in findutils) and try to reverse engineer the format from the source -- it uses a weird type...
If you're trying to do something simple that you could do in a shell, you can use one of the Unix process commands and "screen scrape" the results. -Grant ...
Grant Olson
olsongt@...
Mar 10, 2007 11:04 pm
7416
I have the following code (HashSet is from http://wwwteor.mi.infn.it/ ~pernici/ocaml/ocaml.html): class obj2 = object (self) val mutable parents =...
... It says quite clearly, your "o" object contains functional value, so the Marshal flag "Closures" is required. You should write ... let o = new obj in let...
Zheng Li
li@...
Mar 11, 2007 9:33 am
7418
Thanks a lot Rich and Grant ! ... I've apt-got the source and look at this code. It is short. locatedb man page explains how "front compression" of lists...