ocaml
How can I ask ocamlopt to link against glibc 2.5?
Is t开发者_Python百科here a way to ask ocamlopt to link against glibc 2.5 such that I can run the resulting binary on machines that have only that that version of the library?[详细]
2023-04-09 16:55 分类:问答OCaml shebang syntax error
$ cat hello.ml #!/usr/bin/env ocamlrun ocaml let rec main = print_string \"Hello World!\\n\" $ ./hello.ml[详细]
2023-04-09 16:06 分类:问答Printing stack traces
I have a very short test file: let print_backtrace () = try raise Not_found with Not_found -> Printexc.print_backtrace stdout;;[详细]
2023-04-09 14:47 分类:问答OCaml: Does storing some values to be used later introduce "side effects"?
For a homework assignment, we\'ve been instructed to complete a task without introducing any \"side-effects\".I\'ve looked up \"side-effects\" on Wikipedia, and though I get that in theory it means \"[详细]
2023-04-09 10:59 分类:问答ocamlfind, where to find/how to build?
I know next to nothing about ocaml, but I want to install Coccinelle (on cygwin), which has a dependency to the binary ocamlfind.[详细]
2023-04-09 08:21 分类:问答OCaml expression type issue
I am trying to make an OCaml function that addsthe number of \'a\'s in a string to a given argument.[详细]
2023-04-09 08:02 分类:问答OCaml: Iterating through a list and skipping elements if of the wrong constructor
This may seem like an odd thing to do, and you\'re certainly welcome to suggest a better way to do it.[详细]
2023-04-09 05:40 分类:问答Multiline shebang in OCaml?
In short, I\'d like to abstract this shebang so I can literally copy and paste it into other .ML files without having to specify the filename each time:[详细]
2023-04-09 05:06 分类:问答Problem handling keyboard with openGL and SDL in OCaml
I\'ve a problem handling keyboards events using SDL (only for keyboard events) and openGL (to display graphics, I\'m planning to display 3d graphics). When I use Sdlevent.poll nothing happen and I can[详细]
2023-04-09 03:13 分类:问答Convert 'a list to a Set?
Is it really true that OCaml do开发者_JAVA百科esn\'t have a function which converts from a list to a set?[详细]
2023-04-08 13:49 分类:问答