13 questions
I installed ocaml.4.04.0 in opam and tried to use lambda-soup.$opam install lambdasoupHowever, when I try to compile a program that uses lambdasoup, I get the following error:Warning58: no cmx file wa...
When I was writing something like an expression problem solution using the Extensible variant types introduced in OCaml 4.02, I wanted a polymorphic open recovery, but I am having trouble writing it.m...
When I was writing something like an expression problem solution using the Extensible variant types introduced in OCaml 4.02, I wanted a polymorphic open recovery, but I am having trouble writing it.m...
I installed various packages in opam, but the package installation was successful, but then opam returned Stack overflow.Is there any solution?$ opam update=-=- Updating package repositories =-=-=-=-=...
Install core in opam as follows on osx.opam install coreWrite the following program ex01.ml and open Core.Stdlet_= let list = [1;2;3] in letrc=List.fold_leftlist~init:0~f:(fun accx-> acc+x ) in Pri...
I'm a beginner at OCaml.I'd like to write an OCaml program in Emacs, but how should I set the emacs mode in ocaml?I tried the following settings in package.el, but I couldn't find ocaml in the list yo...
If you use Extensible variant types to extend the variant, you must also extend the pattern match.In addition, if you try to synthesize extensions between two independent variants, you must synthesize...
I use OCamlYacc and Menhir, but when conflicts occur, I somehow erase them because of a try-and-error.If you know how to use the tool or how to use it, please let me know.
When you write the following code with the OCaml code in the .ml file, let print_for_print_teststr= for i = 0 to String.length - 1 str do print_string(str) print_newline() done;;The third line receive...
lets=[1;2;3];[4;5;6];[7;8;9];What should I do if I want a list of int lists with specific values?
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.