This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
(melange.emit
|
||||
(target mli)
|
||||
(modules x)
|
||||
(libraries lib)
|
||||
(emit_stdlib false)
|
||||
(alias mel))
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(lang dune 3.8)
|
||||
|
||||
(using melange 0.1)
|
||||
|
||||
(package
|
||||
(name x))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name lib)
|
||||
(modes melange))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let it = "it"
|
||||
|
|
@ -0,0 +1 @@
|
|||
val it: string
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
Compilation using melange, with interface files
|
||||
$ dune build @mel
|
||||
$ node ./_build/default/mli/x.js
|
||||
buy it
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
let buy_it = "buy " ^ Lib.Y.it
|
||||
|
||||
let () = print_endline buy_it
|
||||
Loading…
Add table
Add a link
Reference in a new issue