I\'m currently experimenting with using OCaml and GTK together (using the lablgtk bindings).However, the documentation isn\'t the best, and while I can work out how to use most of the features, I\'m s
I was wondering if OCaml will perform well in terms of performance and ease of implementation while dealing with typical client/server interactions over TCP in a multi threaded environment.. I mean so
Suppose I have some code like this: List.map (fun e -> if (e <> 1) then e + 1 else (*add nothing to the list*))
I want to use regexps in OCaml and it seems that Str module provides these functionalities. So I tried with a simple program:
I\'d like to be able to get the AST for a given OCaml program (I\'d like to walk the AST and generate an instrumented version开发者_JS百科 of the code or do some kind of transformation, for example).D
I\'m having a problem in fixing a warning that OCaml compiler gives to me. Basically I\'m parsing an expression that can be composed by Bool, Int and Float.
I\'m learning Ocaml and quite lost how to deal with this. Here 开发者_StackOverflow中文版is example.
I\'m learning OCaml and although I have years of experience with imperative programming languages (C, C++, Java) I\'m getting some problems with delimiters between declarations or expressions inOCaml
From what I understood I can use pattern-matching in a match ... with expression with tuples of values, so something like
How can I use some OCaml record that I\'ve defined in some other file? Say for example that I have the file a.ml in which I define the r record: