This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1 @@
(lang dune 1.0)

View file

@ -0,0 +1,4 @@
(library
(name foobarlib)
(public_name foobarlib)
(libraries str))

View file

@ -0,0 +1,4 @@
open! Str
let foo () =
print_endline "foobarlib"

View file

@ -0,0 +1 @@
let () = Foobarlib.foo ()

View file

@ -0,0 +1,2 @@
$ dune build @install && dune exec -- ocamlfind opt -package foobarlib -linkpkg main.ml -o main.exe && ./main.exe
foobarlib