-
-
Save toots/aae9382977ceb6661f0dac66ee01aa53 to your computer and use it in GitHub Desktop.
Dune private lib issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(library | |
(name test_private_lib) | |
(public_name test_private_lib) | |
(modules public) | |
(libraries private)) | |
(library | |
(name private) | |
(package test_private_lib) | |
(modules private)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lang dune 2.8) | |
(name test_private_lib) | |
(generate_opam_files true) | |
(package | |
(name test_private_lib)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let private_value = "private value" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let public_value = Private.private_value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val public_value : string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment