wingsorc has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
wingsorc has joined #ocaml
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
keyboard has quit [Ping timeout: 260 seconds]
Haudegen has quit [Ping timeout: 260 seconds]
chrisz has quit [Ping timeout: 260 seconds]
chrisz has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
milia has joined #ocaml
milia has left #ocaml [#ocaml]
dextaa9 has joined #ocaml
dextaa has quit [Ping timeout: 268 seconds]
dextaa9 is now known as dextaa
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VY2 has joined #ocaml
jao has quit [Ping timeout: 256 seconds]
azimut has joined #ocaml
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
TakinOver has quit [Ping timeout: 256 seconds]
Serpent7776 has quit [Ping timeout: 240 seconds]
VY2 has quit [Remote host closed the connection]
Techcable has quit [Ping timeout: 260 seconds]
foldright has joined #ocaml
foldright has quit [Client Quit]
mro has joined #ocaml
kakadu_ has joined #ocaml
mro has quit [Remote host closed the connection]
Tuplanolla has joined #ocaml
mro has joined #ocaml
wonko has quit [Quit: See You Space Cowboy..]
gwizon has quit [Quit: leaving]
troydm has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
mro has quit [Remote host closed the connection]
olle has joined #ocaml
gwizon has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
Serpent7776 has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 256 seconds]
calvnce has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
calvnce has quit [Ping timeout: 260 seconds]
Techcable has joined #ocaml
bartholin has quit [Quit: Leaving]
troydm has joined #ocaml
keyboard has joined #ocaml
cedric has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 252 seconds]
bobo has quit [Ping timeout: 260 seconds]
spip has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
adeldude13 has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has joined #ocaml
gwizon has quit [Remote host closed the connection]
szkl has joined #ocaml
adeldude13 has quit [Quit: Leaving]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Menchers_ is now known as Menchers
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
gwizon has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
mro has joined #ocaml
gwizon has quit [Quit: leaving]
gwizon has joined #ocaml
jao has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
keyboard has quit [Ping timeout: 268 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
mro has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
gwizon has quit [Ping timeout: 256 seconds]
mro has quit [Remote host closed the connection]
zebrag has joined #ocaml
mro has joined #ocaml
<zebrag>
merlin (ocamllsp) doesn't find modules in same directory as some executable. I do have a `.merlin` file because I needed a `EXT` and a `FLG`, therefore I need specify everything by hand
<zebrag>
I'm using dune
<zebrag>
the project compiles, the executable executes
<rgrinberg>
did you enable .merlin support in ocamllsp? it's off by default
<zebrag>
not that I remember of
<zebrag>
what should I look for?
<rgrinberg>
you just need to run ocamllsp with a command line flag
<rgrinberg>
see ocamllsp --help
<zebrag>
I run a very old ocamllsp and merlin support is still enabled by default (ocamllsp 1.4.1, which comes with ocaml 4.11, really metaocaml)
<zebrag>
so my .merlin file contains `B _build/location-of-cmo-and-cmx-files`
<zebrag>
for each relevant cmo/cmx files
<zebrag>
merlin/ocamllsp do find the modules for the libraries, but not the one in an "executable" directory
<zebrag>
and `B _build/default/ocaml_asp/lib_test/.test.eobjs/byte/` in .merlin
<rgrinberg>
I suppose your .merlin is wrong then
<zebrag>
yes, I'll tell you when I find what was wrong
<rgrinberg>
note that merlin doesn't care about cmo and cmx files
<rgrinberg>
so you should point B at the cmi's
<zebrag>
that's a clue
mro has quit [Read error: Connection reset by peer]
mro has joined #ocaml
<zebrag>
`_build/default/ocaml_asp/lib_test/.test.eobjs/byte/dune__exe__Test_int_exp.cmi` the cmi file exists at the right place (I've removed the unnecessary lines `B _build/../native`)
<rgrinberg>
how did you specify FLG?
<zebrag>
`FLG -open Trx`
<zebrag>
in .merlin
<rgrinberg>
it shoud include -open Dune__exe__
<zebrag>
so `FLG -open Dune__exe__` on independent line
<rgrinberg>
yeah
<zebrag>
so far still not working
<rgrinberg>
or is it Dune__exe?
<zebrag>
Imagine that: it worked
<zebrag>
thanks a lot, so nice
<rgrinberg>
np
<zebrag>
By the way, you wouldn't know if it's possible to have `EXT meta` and `FLG -open Trx`, without the need to resort to an actual merlin file?
<zebrag>
in a dune project
<rgrinberg>
-open Trx is easy to add. you can just add that to flags
<rgrinberg>
Ext - no. We don't have support for metaocaml
<zebrag>
okay then, thanks a lot
mro has quit [Remote host closed the connection]
<zebrag>
So I've got almost everything working for *editing* the files, save for ocamlformat, and `[ .< fun _ -> .~otherwise >. [@metaocaml.functionliteral] ]`
<zebrag>
for the building part, everything is working
<zebrag>
or I managed to have them working, with dune
<zebrag>
`[@metaocaml.functionliteral]` is changing the type of the expression, and since it's merely discarded by merlin, it is unhappy with the type, but everything else is working