<discocaml>
<Kali> > OCaml is a free and open-source software project managed and principally maintained by the French Institute for Research in Computer Science and Automation (Inria).
random-jellyfish has quit [Ping timeout: 260 seconds]
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
random-jellyfish has joined #ocaml
wingsorc has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
<octachron>
Note that it is more than there are researchers at INRIA that work on OCaml on their academic free time. INRIA direct support amounts to 1 research engineer working full time on OCaml.
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 252 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
xd1le has joined #ocaml
dnh has joined #ocaml
waleee has joined #ocaml
waleee has quit [Ping timeout: 258 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
CO2 has quit [Quit: WeeChat 4.1.0]
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 246 seconds]
hiddenman has joined #ocaml
waleee has joined #ocaml
CO2 has joined #ocaml
<hiddenman>
hi all. could anyone help with a simple thing: i'm building an ocaml package under Debian in the isolated chroot. i did install ocaml + few debian ocaml libraries, for example, xml-light. then i did opam init; "opam pin pkg git-url" for some local packages and then tried to build. however, i always get an error "Error: Library "xml-light" not found" while it exists at the /usr/lib/ocaml/xml-light
<hiddenman>
tried to play with different CAML_LD_LIBRARY_PATH but that didn't help.
<hiddenman>
what variable is used for searching libraries? default Debian installation must be able to find everything, but it didn't
<zozozo>
hiddenman: by default, opam installs (and performs lookups for) ocaml packages in its own directories, typically something such as `~/.opam/<switch_name>`
<zozozo>
I'm not sure opam intends to support mixed situations where some packages are installed by the system, and others are installed via opam
<hiddenman>
zozozo, yes, i even tried to did opam switch create 4.13.1
<zozozo>
hiddenman: I'd say the solution is to install cml-light via opam rather than via the debian package
<zozozo>
*xml
<hiddenman>
zozozo, then i will have to install _all_ required libraries which are supplied by Debian by default? bad news then
<hiddenman>
so no mix of system and local packages. thought the same but hoped it would not happen :)
<zozozo>
hiddenman: I might be wrong, but I never tried it, and from what you're saying, it doesn't seem to work, but I'll ask some people to confirm
<hiddenman>
zozozo, i will try and let you know as well. i thought there is envvar like CAML_LD_LIBRARY_PATH which is used to search for libraries
aljazmc has quit [Quit: Leaving]
<hiddenman>
zozozo, adding xml-light as "opam pin xml-light local_git_url" helped. now it wants all other libraries to compile. it's weird it can mix system and local
random-jellyfish has quit [Ping timeout: 260 seconds]
Serpent7776 has quit [Ping timeout: 255 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
random-jellyfish has joined #ocaml
ridcully has quit [Quit: WeeChat 4.0.5]
ridcully has joined #ocaml
random-jellyfish has quit [Ping timeout: 260 seconds]
azimut has quit [Ping timeout: 256 seconds]
dnh has joined #ocaml
waleee has joined #ocaml
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 245 seconds]
bartholin has joined #ocaml
Tuplanolla has joined #ocaml
kurfen has joined #ocaml
wingsorc has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
<discocaml>
<barconstruction> I just stumbled across a piece of really ham fisted anti-woke political satire that Xavier Leroy posted on his professional website and i wish this had been covered in real world ocaml (two short paragraphs introducing him and explaining that he is a boomer) rather than me getting blindsided by it.
<discocaml>
<barconstruction> he probably got it sent to him in a chain email twenty years ago and was like "Ha! So true!" and posted it on his website and forgot about it
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yoyofreeman has quit [Read error: Connection reset by peer]
yoyofreeman has joined #ocaml
<waleee>
if it isn't something extremly inappropriate or offensive I don't really see the point
<discocaml>
<barconstruction> also i wasn't serious i was just expressing surprise in a hyperbolic way
<waleee>
yeah, I was trying to see how why you was riled up over a page he himself has marked as "my geek humor page that is getting a bit old"
bartholin has quit [Quit: Leaving]
hiddenman has quit [Remote host closed the connection]
hiddenman has joined #ocaml
dnh has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
<discocaml>
<barconstruction> Oh, I found it via google so I didn't see the label.
<src>
I'm a bit confused then to explicitly define a module via `module MyModule = struct ... end` and when not to when relying on dune since a module of name MyModule is implicitly created anyways by the build system?
<src>
so I'd have `MyModule.MyModule.myfunction` instead of `MyModule.myfunction`
<src>
s/then/when
<src>
questions I guess are a) is there simply no use case for explicit module declaration when using dune? b) is there a legitimate way to do explicit module declaration when using dune without adding the layer of indirection I talked about