Quantcast
Channel: OCaml - Topics tagged dune
Browsing all 413 articles
Browse latest View live

Dune: serious bug found in the design of library variants

@diml wrote: Dear all, Dune 1.9.0 which was released about 3 weeks ago introduced a new feature: library variants. However, we recently realised that there is a serious flaw with the current design of...

View Article



Why is my own (implicit) module unbound?

@puitgfr wrote: Hello, There’s something I don’t understand with (implicit) modules, compilation (dune), cma and the toplevel. In Lib/i201.ml, I’ve put this simple type definition: type nombre = E of...

View Article

Producing and using typed ASTs for all source files in a project

@bramford wrote: I’m trying to produce typed ASTs for all source files in an OCaml project (e.g. a library or git repo). The goal is to inspect these typed ASTs to learn how OCaml modules/libraries...

View Article

Image may be NSFW.
Clik here to view.

Diagnosing and preventing slow builds (especially in Dune)

@MattWindsor91 wrote: Aside from running dune's internal profiler, are there any other ways to get insight into which bits of an OCaml build are slowing down a particularly long build, and why they...

View Article

Jbuilder support will stop in one month

@diml wrote: Hi, This is a reminder that we are planning to stop supporting Jbuilder projects in Dune in July this year, so in about one month time. After this, projects using jbuilder will not be...

View Article


Let+ syntax backported to OCaml >= 4.02

@diml wrote: Hi, The upcoming OCaml 4.08 release will allow developers to define custom bindings operators. We were eager to use this feature in the code of Dune but because we are currently keeping...

View Article

How do I have dune execute a shell command as a dependency to a library?

@bobpoekert wrote: I have a library that has some C stubs which needs to be linked against some other C code that I need to compile directly with gcc. I’m trying to do it like this, but the rule that...

View Article

Sharing Menhir boilerplate between parsers with different token sets in...

@MattWindsor91 wrote: Hi, I’m using Menhir to parse DIY/Herdtools style litmus tests. These tend to describe multi-threaded programs in some concrete language (C, assembly, etc) and consist of some...

View Article


[ANN] Dune 1.10.0

@rgrinberg wrote: On behalf of the dune team, I’m pleased to announce the 1.10.0 release of dune. This release is packed with bug fixes, but it also introduces a few interesting features. I’ll...

View Article


dune library_variants 0.2

@bobpoekert wrote: the docs at https://dune.readthedocs.io/en/latest/variants.html say to use (using library_variants 0.2) but the latest dune version in opam, 1.10.0, will only work with...

View Article

Image may be NSFW.
Clik here to view.

Why does dune insist on .exe extension?

@tbrup wrote: I noticed that corebuild et al are now depreciated and that now the recommended way to compile programs is dune. So far so good. What annoys me greatly, is the insistence of dune to add...

View Article

Image may be NSFW.
Clik here to view.

[ANN] Dune 1.11.0

@rgrinberg wrote: On behalf of the dune team, I’m pleased to announce the release of dune 1.11.0. This release contains quite a few new interesting features such as custom dialects: anyone can define...

View Article

Dune. Copy multiple dependencies to _build directory in `rule` stanza

@monstasat wrote: Hello, I am developing a web server. Style sheets are written using SASS, and I want dune to process my .scss files to produce one .css file to be included in the resulting package....

View Article


Installing many files with dune

@sanette wrote: Hello, The library that I am developing needs a certain number of additional files (config, images, fonts, etc.) that seem to fit well in the share directory. I would like to have dune...

View Article

Using output of `ocamlfind -only-show` in a dune build

@vrotaru wrote: Can it be done? Context: I’m trying to build LinearML using dune and one remaining stumbling block is this. The compiler limlc build, but when when compiling LinearML stdlib it fails...

View Article


Image may be NSFW.
Clik here to view.

`opam upgrade dune` without rebuilding everything?

@ryan wrote: Using opam to upgrade dune to a new version will trigger rebuilding of all opam packages that depend on dune. This is, of course, the expected behavior. Since lots of ocaml projects use...

View Article

Dune 1.11.1 compilation failed

@basus wrote: I just tried to rune an opam upgrade and ran into the following error: <><> Processing actions...

View Article


Program segfaults when compiled with dune 1.11

@sanette wrote: Hello my program runs fine when compiled with OCamlMakefile, or with dune 1.10. However, after building with dune 1.11, it segfaults: $ dune exec examples/embed/embed.exe...

View Article

Community help/advices need for ocaml-lua

@pdonadeo wrote: Hi all, I’m the author of ocaml-lua, a complete binding to the Lua library, version 5.1.x. I was recently asked to port the library to OCaml 4.08 and of course I want to make it...

View Article

How to use generated .ml files from `dune utop`?

@nekketsuuu wrote: I sometimes insert #mod_use "foobar.ml" into .ocamlinit to debug my library on OCaml toplevel. When I use Dune, however, I noticed some auto-generated files (e.g. parser.ml...

View Article
Browsing all 413 articles
Browse latest View live




Latest Images