Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
124 views

This seems like it should be obvious bug how do I have a conditional dependency in dune-project? Specifically I want to depend on a library but only on Unix-like systems: (package (name foo) (...
Timmmm's user avatar
  • 99.3k
3 votes
1 answer
83 views

I'm trying to port an open source existing ocaml app from Makefiles to dune. The application includes some C and C++ stubs. I tried to add a test.c file in a library like this: (library (name cdk) ...
0 votes
0 answers
144 views

For an use case need to know the market cap of few coins across various blockchains. Using Dune analytics for this purpose but seems there is no direct way to know the market cap of coin in a ...
Sid's user avatar
  • 37
2 votes
2 answers
108 views

── test ├── dune ├── test_program.ml └── foo_files ├── foo_a └── foo_b How can test_program find the files under folder foo_files when run using dune test? I can see that ...
Costava's user avatar
  • 411
1 vote
1 answer
523 views

I have the following query on dune.com: SELECT th.value / 1e18 as amount, tr.success, th."from", th.to, tr.hash, tr.data, FROM table1 tr table2 th ON tr.hash = th.evt_hash ...
0 votes
1 answer
165 views

I’m working on a project in OCaml using Dune, and I’m encountering an "Unbound value" error for a function defined in a custom module. I’ve ensured that the module is correctly defined and imported, ...
Chizy's user avatar
  • 147
-1 votes
1 answer
227 views

Let's say I: dune init proj foobar cd foobar Then modify test/test_foobar.ml to be: let () = print_endline "First" let () = print_endline "Second" let () = print_endline "...
Costava's user avatar
  • 411
0 votes
1 answer
331 views

I have a project built in Dune, with the structure | project_dir -| bin | dune | main.ml -| lib | dune | libfile.ml -| test | dune | test.ml | data.csv The libfile.ml reads ...
Addem's user avatar
  • 4,013
0 votes
2 answers
236 views

I am now writing a project in OCaml v4.06, and I have installed ppx_jane v0.11.0. Actually the environment is based on a docker image. Now here is the dune file (menhir (modules parser)) (ocamllex ...
stormckey's user avatar
0 votes
1 answer
482 views

I have somehow managed to install Opam on MSYS2 on Windows. When I open the MSYS2 MING64 (the blue one) shell and enter opam --version it tells me that it is installed. When I run opam install dune ,...
-1 votes
1 answer
255 views

I'm trying to retrieve results from Dune Analytics. I have already retrieved the Dune API. However, I'm unable to query it. Can someone help? I'm also unable to install Dune-sdk and can't find the ...
Snad's user avatar
  • 1
0 votes
0 answers
153 views

I've been using ocamlbuild to build my projects, but OCaml has abandoned ocamlbuild so I wanted to dunify my projects. I'm trying to compile a project with the opam Z3 package. However, I'm ...
laifs's user avatar
  • 329
1 vote
1 answer
846 views

I'm trying to create a simple query for a token in Dune Analytics. The purpose of the query is to show token holder history by date. Here is the code. Can anyone fix it? SELECT DATE_TRUNC('day', ...
0 votes
1 answer
99 views

Here is my current dune file: (library (name parsing) (libraries toto fmt menhirLib) (modules parser lexer lex_and_parse) ) (ocamllex lexer) (menhir (modules parser) (flags --explain -v)) I know ...
user3078439's user avatar
1 vote
1 answer
299 views

How to cast uint256 to varchar in DuneSQL? Here is an example query Here is an output Error: Line 36:11: Cannot cast array(uint256) to uint256 at line 36, position 11 [Execution ID: ...
xinbenlv's user avatar
  • 942

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /