Hi Martin, ... This is the issue really. I have a mutually recursive data structures and want to split them. ... Got this far but I need to define a data...
... Too bad for you :-/ ... I think it's just that the compiler doesn't look that far. ... A function is a value anyway. A value whose type can be written as ...
I tried compiling 2 files called test1, and test2 test2 contained a variable which was accessed from test1 when I entered the code: open test2 it did not work,...
... What happens is that OCaml take the module name associated with a file and forces the first character to upper case in the module name (keeping in line...
... And/or should be taught as part of introductory tutorials. Doesn't just about *everyone* stumble on this issue at some point, usually fairly early in their...
... Yep. ... It's about six one way, half a dozen the other. Your way avoids having to allocate a needless string, however. I wish Ocaml recognized that the ...
Hi all, I have the Mingw build of Ocaml 3.09 and Cygwin and I'm trying to get lablgl to work. Ocamlopt.opt seems to work with labltk and in general. However,...
Hi List, I have a program that uses arrays. It is slower when compiled with the "-unsafe" option, and I do not understand why. I am a beginner at this, so I...
Johan Grönqvist
johan.gronqvist@...
Mar 5, 2006 4:25 pm
5557
Hi, Can anybody tell me is there any open source ML dialect Thanks in advance for any help, or hints of where to look yugandhar ... -- Keep Smiling Yugandhar...
yugandhar balaji kris...
balu.ugandhar@...
Mar 5, 2006 5:09 pm
5558
... Um... OCaml is open source. William D. Neumann "I eat T-bone steaks, I lift barbell plates, I'm sweeter than a German chocolate cake. I'm the reflection of...
... Maybe option -educational or -pedagogical or -good-style is active? ;-) Ciao, Oliver...
Oliver Bandel
oliver@...
Mar 5, 2006 5:59 pm
5561
... there was a thread on this some time ago. The reason seems to be that modern processors are quite complicated beasts. You just cannot know how the cpu ...
... Turning bounds checking off rarely improves performance significantly. I strongly recommend that you do not use the "-unsafe" option. I am seeing an...
... I say "oh camel". -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists...
Hello everybody! I usually get items from ocamlyacc and then work them out. However, I now wonder whether could I affect the semantic action of the parser at...
hi there, ok, i'm really starting to getting frustrated with ocaml's module system. i read through all documentation availbale on the official pages and the...
... That's about right, yes. If you want to find out how to fix your functor, then you could start by looking at some examples - the functor map.{ml,mli} from...
... Of course, this does NOT declare a module TYPE ! ... Type your code in the toplevel -- Caml will reply with the interface :) ChriS...
Christophe TROESTLER
Christophe.Troestler@...
Mar 6, 2006 8:19 pm
5571
Hello, which types can be correctly compared, when using the "compare" function from the Pervasives module? It seems that simple tuples can be compared. I...
Oliver Bandel
oliver@...
Mar 6, 2006 8:42 pm
5572
... Most things. It's probably easier to list the things which can't be compared: * functions/closures * various abstract types defined in C if they provide...
... From the manual, section 19.2: "The ordering implemented by compare is compatible with the comparison predicates =, < and > defined above" plus a note...
... In theory, anything apart from closures and values outside the heap. In practice, you don't want to apply "compare" to any data structures where different...
... i did, and while i don't really have a clue how the examples in the documentation would bring me to an implementation like this, i imitated it: (* .ml *) ...
Hi, Could you help me with types? Suppose I have: type a = {b:float;c:int};; type a2 = {b:float;c:int};; When I write {b=3.5;c=2};; ocaml understands I want...