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

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 3536 - 3565 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3536
Hi, all In the toplevel, we can use "#trace" to trace the stack of some functions. However, if we want to trace the method of an object, how shall we do this?...
Andy Yang
yyu08
Offline Send Email
Jun 1, 2005
7:30 am
3537
Is there a way to dynamically get functions from their names? For example, if I had a function (some_function -> int -> int), would it be possible somehow to...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 1, 2005
3:53 pm
3538
... Not directly, AFAIK. There are two alternatives that I can think of: Obviously you could write a dispatch function: let lookup_function = function ...
Jon Harrop
harropjon
Offline Send Email
Jun 1, 2005
4:22 pm
3539
Actually, I am looking to make a program of mine support plugins, of a sort. I would take a library and load it dynamically, but I would need to know what...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 1, 2005
5:30 pm
3540
... There is an obvious conflict between static typing and this kind of dispatch which is, essentially, why this isn't too easy in OCaml. I put plugins in one ...
Jon Harrop
harropjon
Offline Send Email
Jun 1, 2005
5:51 pm
3541
I've thought about that, but the problem is that I need multiple "plugins" to be loaded at the same time. Because they are compiled separately, the...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 1, 2005
6:01 pm
3542
... Note also that when a cmo is loaded, the toplevel value are evalutated. They can add sommething (like for example a function) into an hashtable for...
Remi Vanicat
dl_ens
Offline Send Email
Jun 1, 2005
6:30 pm
3543
Hi. I am working on dealing with recursive XML Schemas. Now, I have a system(written in ocaml) which has a basic tree type data structure to see the XML schema...
rahul thathoo
rahulthathoo...
Offline Send Email
Jun 2, 2005
4:39 am
3544
Hello, look at this: I have a compilation unit and define two modules inside it. How can I have access to each module's exported funtion from each other...
Oliver Bandel
oliver@...
Send Email
Jun 2, 2005
4:32 pm
3545
... As someone who is still reading thru the OCaml PDF, could someone expand on these comments? ie, Is this comment reflective of deficiencies in OCaml's...
Steven Johnson
steven_johnson
Offline Send Email
Jun 2, 2005
5:22 pm
3546
I can't comment on the reflection aspect (obviously: I asked the question!), but as far a OCaml v. Java, I find that OCaml is much more graceful and succinct,...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 2, 2005
5:47 pm
3547
... Most object-oriented programming languages require you to use the object system wherever and whenever any single one of the typical aspects of...
james woodyatt
dr_strychnine
Offline Send Email
Jun 2, 2005
5:59 pm
3548
... Typical OO languages make you use objects to solve all your abstraction problems. Ocaml offers higher order functions and modules which are often a better...
Karl Zilles
kzilles
Online Now Send Email
Jun 2, 2005
6:08 pm
3549
Mutually recursive modules can be defined within a single compilation unit. The syntax is module rec AModule : sig ... end = struct ... end and BModule : sig ...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 2, 2005
6:33 pm
3550
Hello, ... Is this a new feature? Didn't found "module rec" in the Documentation. Have OCaml 3.08.0, but the old documentation of OCaml 3.06. ... Where to find...
Oliver Bandel
oliver@...
Send Email
Jun 2, 2005
7:16 pm
3551
... This is an experimental and relatively recent extension of the language (section 7.9 of the manual for OCaml 3.08) ... -- Martin Jambon, PhD ...
Martin Jambon
BioMim
Offline Send Email
Jun 2, 2005
7:23 pm
3552
... Here you go: http://cristal.inria.fr/~xleroy/publi/recursive-modules-note.pdf Best of wishes!...
Danny Yoo
dyoo@...
Send Email
Jun 2, 2005
8:41 pm
3553
I'm not sure if this got through, so I'm sending it again. If it pops up twice, I'm sorry! Mutually recursive modules can be defined within a single...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 2, 2005
8:51 pm
3554
... Ah, OK, I see. :) Ciao, Oliver...
Oliver Bandel
oliver@...
Send Email
Jun 2, 2005
10:36 pm
3555
... Good pun, dude! ;-) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists ...
Jon Harrop
harropjon
Offline Send Email
Jun 3, 2005
3:31 pm
3556
... Read the sources to the OCaml compilers. There are very fewer uses of objects in there too. I've only used objects a handful of times over the past two ...
Jon Harrop
harropjon
Offline Send Email
Jun 3, 2005
3:50 pm
3557
Hello I tried to set up the Cameleon, an Ocaml IDE http://savannah.nongnu.org/projects/cameleon/ http://pauillac.inria.fr/~guesdon/Tools/cameleon/cameleon.html...
dominiksm@...
Send Email
Jun 3, 2005
4:42 pm
3558
Maybe I'm just old school, but use Emacs (Tuareg mode) or Vim... :)...
Jonathan Bryant
jonboy3182
Offline Send Email
Jun 3, 2005
4:48 pm
3559
... Note that cameleon 3.06 can also compile with more recent lablgtk (well at least the cameleon debian package have been compiled with lablgtk 1.2.7) ... ...
Remi Vanicat
dl_ens
Offline Send Email
Jun 3, 2005
5:24 pm
3560
... At first, I was worried... I generally don't enjoy puns very much. I almost never write puns on purpose, and I didn't see the pun until after I stared at...
james woodyatt
dr_strychnine
Offline Send Email
Jun 3, 2005
5:53 pm
3561
Hello Problem is solved. Thanks to all who helped. ... Can be. But it went on without risk with 1.2.6 too. ... Exactly. Sometimes the solution for a difficulty...
dominiksm@...
Send Email
Jun 3, 2005
7:55 pm
3562
... I have yet to find the pun... Any hint, please ? Frédéric...
Frederic van der Plan...
fplancke2001
Offline Send Email
Jun 3, 2005
8:04 pm
3563
... "There are usually some exceptions"....
Karl Zilles
kzilles
Online Now Send Email
Jun 3, 2005
8:17 pm
3564
... Well, I see this as a failing of Java-the-language rather than object models in general. In particular, a good generics system would do wonders towards...
Steven Johnson
steven_johnson
Offline Send Email
Jun 6, 2005
12:35 am
3565
... On this topic: I really want to try this out, but I have so far been unable to get it it to work... probably because I'm limited to using a Windows machine...
Steven Johnson
steven_johnson
Offline Send Email
Jun 6, 2005
12:39 am
Messages 3536 - 3565 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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