Stumpfenstiel has quit [Ping timeout: 276 seconds]
Haudegen has quit [Ping timeout: 276 seconds]
spip has quit [Quit: Konversation terminated!]
czy has joined #ocaml
oriba has quit [Ping timeout: 265 seconds]
waleee has quit [Ping timeout: 265 seconds]
wingsorc__ has quit [Quit: Leaving]
wingsorc has joined #ocaml
chrisz has quit [Ping timeout: 255 seconds]
chrisz has joined #ocaml
czy has quit [Remote host closed the connection]
czy has joined #ocaml
wingsorc has quit [Quit: Leaving]
wingsorc has joined #ocaml
masterbuilder has quit [Quit: leaving]
masterbuilder has joined #ocaml
m_ has joined #ocaml
m_ has quit [Client Quit]
loopspace has joined #ocaml
bartholin has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
Tuplanolla has joined #ocaml
Haudegen has joined #ocaml
spip has joined #ocaml
azimut has joined #ocaml
<loopspace>
I'm new to dune/opam and I've been trying to grasp appropriate directory structure for a project. I ran through some hello world tutorials, and managed to get lex and yacc working. Next I'm trying to "port" a Makefile-based project over to dune. I've tried a number of structures for several hours, but I don't quite get how to organize the tree without having to change any source files.
<companion_cube>
The first big red flag is: you should have exactly one dune-project, at the root
<companion_cube>
And thus only one _build
<companion_cube>
Here it's like you have separate projects, so they don't know about each other
<companion_cube>
Look at my containers repo for an example if you want :)
<loopspace>
Ah, I see. In my attempts to get rid of that error, I dune init-ed projects for support and syntax. Thanks for steering me away from that error. I will look at containers, thanks
<companion_cube>
👍
Stumpfenstiel has joined #ocaml
<loopspace>
update: seems that the main impediment was that I needed to use (wrapped false) for the lib in this case (older source code)
dhil has joined #ocaml
dhil has quit [Remote host closed the connection]
Stumpfenstiel has quit [Quit: No Ping reply in 180 seconds.]
Stumpfenstiel has joined #ocaml
trillion_exabyte has quit [Ping timeout: 248 seconds]
trillion_exabyte has joined #ocaml
waleee has joined #ocaml
trillion_exabyte has quit [Ping timeout: 260 seconds]
trillion_exabyte has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
oriba has joined #ocaml
dh` has quit [Read error: Connection reset by peer]
John_Ivan has joined #ocaml
bartholin has quit [Quit: Leaving]
<discocaml>
<masterbuilder> is there anything like decltype in Ocaml? i.e. use the type of object A and use that to annotate object B
<discocaml>
<masterbuilder> is there anything like decltype in Ocaml? i.e. get the type/ of object A and use that to annotate object B
<companion_cube>
No, you can't ask for the type of an expression
Tuplanolla has quit [Quit: Leaving.]
<masterbuilder>
I see
<masterbuilder>
by the way I noticed that when I wrote `s/<typo>/.../` in Discord for the benefit of the IRC people it resulted in an actual edit of the post, what's up with that? furthermore it was sent to the IRC side as a repeated message, which was exactly what I was trying to avoid. Is it a bot you're experimenting with or is this a new Discord feature?
<discocaml>
<darrenldl> discord recognises a subset of s// replacement syntax