Skip to content

build: add (package iter) to ocaml-mdx rule#46

Open
anmonteiro wants to merge 1 commit into
c-cube:mainfrom
anmonteiro:patch-1
Open

build: add (package iter) to ocaml-mdx rule#46
anmonteiro wants to merge 1 commit into
c-cube:mainfrom
anmonteiro:patch-1

Conversation

@anmonteiro

@anmonteiro anmonteiro commented May 31, 2026

Copy link
Copy Markdown

upcoming dune with fine-grained dependency filtering seems to surface a missing dependency in this rule:

File "README.md", line 1, characters 0-0:
(cd _build/default && /nix/store/ww555mznia5v7sz2w85lblg4amvhkhv1-diffutils-3.12/bin/diff -u --label README.md --label README.md.corrected README.md README.md.corrected)
--- README.md
+++ README.md.corrected
@@ -5,9 +5,11 @@
 
 ```ocaml
 # #require "iter";;
+No such package: iter
 # let p x = x mod 5 = 0 in
   Iter.(1 -- 5_000 |> filter p |> map (fun x -> x * x) |> fold (+) 0);;
-- : int = 8345837500
+Line 2, characters 3-7:
+Error: Unbound module Iter

@c-cube

c-cube commented Jun 4, 2026

Copy link
Copy Markdown
Owner

sorry, can you try to rebase? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants