Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<discocaml> <universalcosm> I started making my own jquery using vanilla JS and Rescript
<discocaml> <universalcosm> Here's a sample code
Tuplanolla has quit [Quit: Leaving.]
oriba has joined #ocaml
rgrinberg has joined #ocaml
oriba has quit [Ping timeout: 252 seconds]
neiluj has quit [Quit: neiluj]
azimut has joined #ocaml
<dh`> ] <octachron> The `-all` version is complete.
<dh`> the -all version is missing types.cmx, and the non-all version is missing types.cmi
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
micro has quit [Ping timeout: 256 seconds]
micro has joined #ocaml
average has quit [Quit: Connection closed for inactivity]
waleee has quit [Ping timeout: 240 seconds]
<discocaml> <proelectro444> i can run ocaml from utop
<discocaml> <proelectro444> but i am not able to run from a file
<discocaml> <proelectro444> how can i do that ?
trev has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pi3ce has joined #ocaml
rgrinberg has joined #ocaml
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pi3ce has joined #ocaml
Serpent7776 has joined #ocaml
bartholin has joined #ocaml
dnh has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 245 seconds]
ehrt74 has joined #ocaml
reynir has quit [Ping timeout: 268 seconds]
szkl has joined #ocaml
ehrt74 has quit [Ping timeout: 268 seconds]
Tuplanolla has joined #ocaml
bartholin has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reynir has joined #ocaml
dnh has joined #ocaml
average has joined #ocaml
ymherklotz has quit [Remote host closed the connection]
ggb has quit [Remote host closed the connection]
brettgilio has quit [Remote host closed the connection]
philipwhite has quit [Remote host closed the connection]
whereiseveryone has quit [Remote host closed the connection]
b0o has quit [Remote host closed the connection]
migalmoreno has quit [Remote host closed the connection]
jakzale has quit [Remote host closed the connection]
immutable has quit [Remote host closed the connection]
kuruczgy has quit [Remote host closed the connection]
richardhuxton has quit [Remote host closed the connection]
seeg has quit [Remote host closed the connection]
030AACFSJ has quit [Remote host closed the connection]
arya_elfren has quit [Remote host closed the connection]
pluviaq has quit [Remote host closed the connection]
sleepydog has quit [Remote host closed the connection]
henrytill has quit [Read error: Connection reset by peer]
Ankhers has quit [Remote host closed the connection]
toastal has quit [Remote host closed the connection]
_alix has quit [Remote host closed the connection]
patrick__ has quit [Remote host closed the connection]
philipwhite has joined #ocaml
patrick__ has joined #ocaml
ggb has joined #ocaml
ymherklotz has joined #ocaml
pluviaq has joined #ocaml
migalmoreno has joined #ocaml
jakzale has joined #ocaml
soni_ has joined #ocaml
b0o has joined #ocaml
brettgilio has joined #ocaml
whereiseveryone has joined #ocaml
immutable has joined #ocaml
sleepydog has joined #ocaml
toastal has joined #ocaml
Ankhers has joined #ocaml
seeg has joined #ocaml
richardhuxton has joined #ocaml
kuruczgy has joined #ocaml
henrytill has joined #ocaml
arya_elfren has joined #ocaml
_alix has joined #ocaml
<octachron> dh`, the `-all` version is correct, there is no dependency between cmi and cmx
patrick__ has quit [Read error: Connection reset by peer]
arya_elfren has quit [Read error: Connection reset by peer]
migalmoreno has quit [Read error: Connection reset by peer]
pluviaq has quit [Read error: Connection reset by peer]
Ankhers has quit [Ping timeout: 245 seconds]
whereiseveryone has quit [Ping timeout: 245 seconds]
sleepydog has quit [Read error: Connection reset by peer]
ymherklotz has quit [Read error: Connection reset by peer]
seeg has quit [Read error: Connection reset by peer]
soni_ has quit [Read error: Connection reset by peer]
henrytill has quit [Read error: Connection reset by peer]
richardhuxton has quit [Read error: Connection reset by peer]
_alix has quit [Read error: Connection reset by peer]
toastal has quit [Write error: Connection reset by peer]
immutable has quit [Write error: Connection reset by peer]
arya_elfren has joined #ocaml
migalmoreno has joined #ocaml
patrick__ has joined #ocaml
philipwhite has quit [Read error: Connection reset by peer]
brettgilio has quit [Read error: Connection reset by peer]
ggb has quit [Write error: Connection reset by peer]
jakzale has quit [Read error: Connection reset by peer]
b0o has quit [Write error: Connection reset by peer]
kuruczgy has quit [Read error: Connection reset by peer]
pluviaq has joined #ocaml
ymherklotz_ has joined #ocaml
ggb_ has joined #ocaml
philipwhite_ has joined #ocaml
jakzale_ has joined #ocaml
whereiseveryone has joined #ocaml
immutable_ has joined #ocaml
brettgilio_ has joined #ocaml
Ankhers has joined #ocaml
soni__ has joined #ocaml
seeg_ has joined #ocaml
sleepydog_ has joined #ocaml
_alix_ has joined #ocaml
seeg_ is now known as seeg
richardhuxton has joined #ocaml
toastal_ has joined #ocaml
_alix_ is now known as _alix
kuruczgy_ has joined #ocaml
henrytill has joined #ocaml
b0o_ has joined #ocaml
sleepydog_ is now known as sleepydog
szkl has quit [Read error: Connection reset by peer]
jakzale_ is now known as jakzale
toastal_ is now known as toastal
ymherklotz_ is now known as ymherklotz
ggb_ is now known as ggb
kuruczgy_ is now known as kuruczgy
szkl has joined #ocaml
b0o_ is now known as b0o
brettgilio_ is now known as brettgilio
cimento has quit [Ping timeout: 245 seconds]
hannes has quit [Ping timeout: 245 seconds]
farn_ has quit [Ping timeout: 245 seconds]
hannes has joined #ocaml
cimento has joined #ocaml
farn_ has joined #ocaml
delyan_ has quit [Quit: Connection closed for inactivity]
cimento has quit [Ping timeout: 256 seconds]
average has quit [Quit: Connection closed for inactivity]
olle has joined #ocaml
cimento has joined #ocaml
gdr3941 has joined #ocaml
cimento has quit [Quit: WeeChat 4.1.2]
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ehrt74 has joined #ocaml
alexherbo2 has joined #ocaml
pi3ce has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest9299
Guest9299 has quit [Killed (calcium.libera.chat (Nickname regained by services))]
infinity0_ is now known as infinity0
azimut_ has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
ehrt74 has quit [Ping timeout: 252 seconds]
Serpent7776 has quit [Quit: WeeChat 2.8]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 255 seconds]
olle has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
<dh`> octachron: fair enough, but then the other one's wrong and anyone writing a build system that depends on it is borrowing trouble
<dh`> I would say that since it's not in anyone's interests to make it hard to write build systems, in the case of a .ml file with no .mli file all the depends should be on both the .cmx and .cmi outputs
<octachron> the not "-all" is still correct in term of transitive dependencies
<dh`> you can't have ".cmi files don't depend on .cmx files" and ".cmi files depend on .cmx files" correct at the same time :-)
<octachron> The cmx is used as a proxy for the cmi in that case
<dh`> yes, sure, but if it's going to do that in the one case it should do it in both cases
<dh`> especially since it is almost certainly doing it on purpose
<dh`> also, in the -all output a lot of .cmi files do depend on .cmx files, even ones where there are separate .ml and .mli sources
<dh`> the combination of these points definitely seems wrong
<octachron> I don't see after a quick glance the case where the "-all" path could add a cmx files as dependencies to cmis
<octachron> (and without "-all" the dependencies generated are the minimal dependencies required by make in anger)
<octachron> (and if you are not using makefile, there is no reason to use ocamldep to compute dependencies)
<dh`> I am getting a bunch
<dh`> or I think I am, let me check more carefully
alexherbo2 has quit [Remote host closed the connection]
<dh`> ah, no, that's it's only for files with no .mli
<dh`> the output is, alas, not that easy to reda
<dh`> or read
<dh`> anyway I had to switch to -all because stuff was missing without it, but I can't remember what any more :-(
<dh`> but it also doesn't really understand having a separate build directory and that needs to be hacked around and maybe that's part of the problem
<dh`> although hmm
<dh`> for an .mll file, where the output .ml goes in the build directory but the .mli is an ordinary source
<dh`> does the .mli file need to be copied to the build directory for things to work, or is it enough to generate the .cmi file there?
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Ping timeout: 250 seconds]
<octachron> with recent enough version of OCaml, you can use `-cmi-file ...` to compile the ml file with the right cmi
szkl has quit [Quit: Connection closed for inactivity]
<dh`> I guess it's easy to check if the interface is being applied
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pi3ce has joined #ocaml
<reynir> over the weekend I tried to compile a program using dune that uses a module from a compiled malfunction source without luck. I could however compile it by hand after refreshing what a .cmx, .cmi etc is
bartholin has joined #ocaml
gdr3941 has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Serpent7776 has joined #ocaml
rgrinberg has joined #ocaml
waleee has joined #ocaml
trev has quit [Quit: trev]
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
alexherbo2 has joined #ocaml
patrick__ is now known as patrick
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ekho has quit [Quit: CORE ERROR, SYSTEM HALTED.]
Serpent7776 has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
Ekho has joined #ocaml
m5zs7k has quit [Quit: m5zs7k]
m5zs7k has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml