ocaml tag

13 questions


1 answers
140 views
0
Lambdasoup Does Not Work in OCaml 4.04.0

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...

1 years ago

3 answers
80 views
0
I want to create a polymorphic open recovery.

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...

1 years ago

3 answers
94 views
0
I want to create a polymorphic open recovery.

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...

1 years ago

1 answers
107 views
0
The opam started throwing up stack overflow.

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 =-=-=-=-=...

1 years ago

1 answers
102 views
0
Please tell me how to use Core.

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...

1 years ago

2 answers
80 views
0
Write OCaml in Emacs

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...

1 years ago

1 answers
87 views
0
How do I synthesize pattern matches?

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...

1 years ago

1 answers
80 views
0
How to clear conflicts in OCamlYacc or Menhir

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.

1 years ago

2 answers
85 views
0
I can't tell the difference between; and; in OCaml.

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...

1 years ago

1 answers
90 views
0
Searching for OCaml Lists

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 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.