ocaml
Function overloading in OCaml
I have defined some types: type box = Box of int type table = Table of int type compare_result = Lt | Eq | Gt[详细]
2023-03-23 08:44 分类:问答Can we peek out partially inferred typing info. from Ocaml toplevel/compiler for a program that does not compile?
I would like to know, in Ocaml, whether a partial typing info. can be drawn by some existed functionality of toplevel/compiler, for a program that does not compile? Let me explain.[详细]
2023-03-23 05:52 分类:问答OCamlbuild fails to compile complaining implementation of Netsys is not provided when it is
I\'m trying to compile an XML-RPC server written using the xmlrpc-light library in OCaml with ocamlbuild but I get:[详细]
2023-03-22 07:16 分类:问答Syntax of function declaration in OCaml
I would like开发者_StackOverflow社区 to define a function as following: let f (a: int) (b: int) (c: int) (d: int): int =[详细]
2023-03-22 05:54 分类:问答Assembly code from Ocaml
I have simple ocaml file test.ml 1 + 2;; I compiled it. can i see assem开发者_如何转开发bly output of this code? Maybe ocaml packet has any tools for this?[详细]
2023-03-22 05:43 分类:问答Ocaml libraries for mp3 editing?
In OCaml, is there any开发者_运维百科 library to manipulatemp3 files editing (for ex.splitting, blank detection)? Yes, I see things should have been much easier in other languages.Well, if you find a[详细]
2023-03-21 18:58 分类:问答Is it possible to use the font of tuareg in caml-mode under Emacs?
For Indentation of “if”, i have to use caml-mode under Emacs. But I find the font of tuareg is more colorful than caml-font, so my question is whether it is possible to use the font of tuareg in ca[详细]
2023-03-21 12:11 分类:问答Modules and record fields
I have stumbled across a rather simple OCaml problem, but I can\'t seem to find an elegant solution. I\'m working with functors that are applied to relatively simple modules (they usually define a typ[详细]
2023-03-21 09:02 分类:问答Stackoverflow with specialized Hashtbl (via Hashtbl.make)
I am using this piece of code and a stackoverflow will be triggered, if I use Extlib\'s Hashtbl the error does not occur. Any hints to use specialized Hashtbl without stackoverflow?[详细]
2023-03-21 07:28 分类:问答Indentation of "if" in Ocaml under Emacs
I am coding Ocaml with Emacs, at the moment the setting of the indentation of if gives the following:[详细]
2023-03-21 04:38 分类:问答