<mister_m>
I started a dune "lib" project, and I have emacs telling me "no config found for file" and suggests running dune build. What does this mean?
<rgrinberg>
means that you need to run $ dune build in your project
<mister_m>
why
<mister_m>
Immediately when I create a new .ml file I see this error through the lsp and flymake
<rgrinberg>
ocamllsp can only provide you with editor functionality if it knows where the build artifacts are
<mister_m>
so dune build needs to be run whenever I make a new file in a project??
<rgrinberg>
yes
<mister_m>
that's ridiculous
<mister_m>
but thank you for explaining why I am seeing that
<rgrinberg>
you're welcome
jao has joined #ocaml
chrisz has quit [Ping timeout: 265 seconds]
chrisz has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jao has quit [Ping timeout: 268 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
Haudegen has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 260 seconds]
bgs has joined #ocaml
bgs has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
kakadu has joined #ocaml
wingsorc has quit [Ping timeout: 256 seconds]
olle has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rwmjones_ is now known as rwmjones|HOLS
mro has quit [Ping timeout: 260 seconds]
neiluj has joined #ocaml
Serpent7776 has joined #ocaml
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
kurfen_ has joined #ocaml
mro has quit [Remote host closed the connection]
kurfen has quit [Ping timeout: 272 seconds]
mro has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
hsw_ has joined #ocaml
hsw_ has quit [Remote host closed the connection]
<zozozo>
mister_m: note that you can let dune run in a loop in a terminal with the -w (watch) option
<Johann>
Hello, I have a list of values lv and I want to cycle infinitely on those values. Is there a syntax to do `let cycle = l @ cycle` similarly to how I can do `let cycle = 1 :: 2 :: cycle` ?
<Johann>
i forgot the rec :) but the idea is the same
olle has joined #ocaml
sagax has quit [Ping timeout: 260 seconds]
jao has joined #ocaml
<octachron>
Johann, no because it is generally unsound to apply a function to a value that has not been yet completely constructed.
<octachron>
I would propose to use a circular buffer.