This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(libraries lib))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.2)
|
||||
|
|
@ -0,0 +1 @@
|
|||
X.run ();;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$ dune build
|
||||
File "foo.ml", line 1, characters 0-5:
|
||||
1 | X.run ();;
|
||||
^^^^^
|
||||
Error: Unbound module X
|
||||
[1]
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(library
|
||||
(name lib)
|
||||
(wrapped false)
|
||||
(private_modules x))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let run () = print_endline "private"
|
||||
Loading…
Add table
Add a link
Reference in a new issue