companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
Tuplanolla has quit [Quit: Leaving.]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
rock64 has quit [Ping timeout: 240 seconds]
rock64 has joined #ocaml
ArthurStrong has joined #ocaml
ArthurStrong has quit [Quit: leaving]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mbuf has joined #ocaml
mfp has quit [Ping timeout: 260 seconds]
Haudegen has quit [Quit: Bin weg.]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
<d_bot> <EduardoRFS> I would really recommend you to use OCaml Platform
elusive has joined #ocaml
gopiandcode has joined #ocaml
elusive has quit [Quit: Leaving]
zebrag has quit [Quit: Konversation terminated!]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
ArthurStrong has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
White_Flame has quit [Ping timeout: 240 seconds]
shawnw has quit [Ping timeout: 265 seconds]
ania123 has joined #ocaml
curtosis has joined #ocaml
shawnw has joined #ocaml
White_Flame has joined #ocaml
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #ocaml
curtosis is now known as curtosis[away]
<d_bot> <froyo> btw is ocaml-lsp 1.5.0 (for 4.12) still not available yet on opam repo? whats the status on that? i see no issue for it on github
<d_bot> <froyo> 1.4.1 still has this constraint `"ocaml" {>= "4.06" & < "4.12"}`
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ArthurStrong has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 268 seconds]
<d_bot> <EduardoRFS> Nope, I've been pinning it to opam for a while
borne has joined #ocaml
mfp has joined #ocaml
Tuplanolla has joined #ocaml
wonko7 has joined #ocaml
vicfred has quit [Quit: Leaving]
mxns has joined #ocaml
RalfJ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
RalfJ has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
kafilat_ has joined #ocaml
kafilat_ is now known as k_ade
olle has joined #ocaml
jbrown has quit [Remote host closed the connection]
jbrown has joined #ocaml
ArthurStrong has joined #ocaml
<d_bot> <froyo> this doesn't compile
<d_bot> <froyo> I'm trying to express it within what ocaml allows though
mrd has joined #ocaml
mrd has quit [Changing host]
mrd has joined #ocaml
borne has quit [Ping timeout: 250 seconds]
ania123 has quit [Quit: Connection closed]
wonko7 has quit [Ping timeout: 240 seconds]
wonko7 has joined #ocaml
mrd has quit [Remote host closed the connection]
ArthurStrong has quit [Quit: leaving]
mrd has joined #ocaml
mrd has joined #ocaml
mrd has quit [Changing host]
Haudegen has joined #ocaml
k_ade has quit [Quit: Connection closed for inactivity]
zebrag has joined #ocaml
tane has joined #ocaml
<d_bot> <rw> I got it through opam just a day or two ago. 👍
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
beajeanm has quit [Quit: The Lounge - https://thelounge.chat]
shawnw has quit [Ping timeout: 240 seconds]
beajeanm has joined #ocaml
mxns has joined #ocaml
jbrown has quit [Ping timeout: 240 seconds]
wonko7 has quit [Ping timeout: 252 seconds]
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
oriba has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
<d_bot> <EduardoRFS> @HYPHEN you need first class modules
<d_bot> <EduardoRFS> (val) and (module)
mxns has joined #ocaml
mxns has quit [Ping timeout: 276 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
cantstanya has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 268 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
artart78 has quit [Ping timeout: 250 seconds]
<d_bot> <Kate> cc @rgrinberg
jbrown has joined #ocaml
mxns has joined #ocaml
mphi has joined #ocaml
mxns has quit [Ping timeout: 276 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
mbuf has quit [Quit: Leaving]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
stux|RC has quit [Quit: Aloha!]
elusive has joined #ocaml
stux|RC has joined #ocaml
mxns has joined #ocaml
<d_bot> <Linda> Hello humans !
<companion_cube> o/
<d_bot> <Linda> someone has the link to ReasonML discord please ❤️ ?
stux|RC has quit [Quit: Aloha!]
mxns has quit [Ping timeout: 276 seconds]
<companion_cube> https://discord.gg/NzrczmBr I think
osa1 has quit [Read error: Connection reset by peer]
stux|RC has joined #ocaml
<d_bot> <Linda> Thanks :
mxns has joined #ocaml
mphi has quit [Quit: mphi]
mxns has quit [Ping timeout: 245 seconds]
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
octachron has joined #ocaml
octachron has quit [Client Quit]
octachron has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
<d_bot> <rgrinberg> I’m blocked on a dune-release bug. Once it is fixed, I will make a release
<companion_cube> but how can you release if dune-release is buggy? 🤔
<d_bot> <rgrinberg> That’s precisely what’s blocking me
<companion_cube> you could try opam-publish ;)
osa1 has joined #ocaml
<companion_cube> (I'm kidding, but I do like it)
octachron has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
borne has joined #ocaml
octachron has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
artart78 has joined #ocaml
xandkar has joined #ocaml
artart78 has quit [Changing host]
artart78 has joined #ocaml
bjorkintosh has quit [Remote host closed the connection]
oriba has joined #ocaml
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
borne has quit [Ping timeout: 245 seconds]
<d_bot> <rgrinberg> I rely on special features like including sub modules in the tarball. Don’t think opam publish offers this
Serpent7776 has quit [Read error: Connection reset by peer]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
mxns has joined #ocaml
noonien has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
elusive has quit [Quit: Leaving]
mxns has quit [Ping timeout: 246 seconds]
<d_bot> <colin> How are you meant to generate documentation with `odoc`? I've tried several times and nothing happens. I thought it'd be the case that if you have some library in a folder with a `dune` file then running `dune build @doc` would produce documentation but it does nothing.
<d_bot> <colin>
<d_bot> <colin> Failing that, how do you make `ocamldoc` aware of libraries? It seems to mostly work except in cases where modules from libraries are being referenced.
vicfred has joined #ocaml
<d_bot> <mnxn> I believe the documentation is built to `_build/default/_doc`
<d_bot> <colin> I thought the same thing but everything online just says: "run `dune build @doc`". I do that and nothing happens each time.
<d_bot> <mnxn> Did you check that directory? If it's doing nothing, it's probably already built.
<d_bot> <colin> Yeah, nothing. Perhaps I just misunderstand how you're meant to structure OCaml projects.
<d_bot> <mnxn> The `_build` folder is relative to the directory with the `dune-project` file
<d_bot> <colin> I don't want to post code here but is there any online example of a small library project, using `dune`, that will build documentation when built with `dune build @doc`?
<d_bot> <colin> Everywhere online just says the same "run `dune build @doc`" but that just doesn't work. Are you meant to have a bunch of other stuff that isn't mentioned? Do I need `.opam` files?
mxns has joined #ocaml
<d_bot> <mnxn> Do you have a `package` field in `dune-project`? It seems that's neccessary.
<d_bot> <colin> apparently adding that means I then need to add .opam files
<d_bot> <mnxn> You don't
<d_bot> <mnxn> opam files will only be created if you have `generate_opam_files` in `dune-project`
<d_bot> <mnxn> You can also do `dune build @doc-private` to get documentation for libraries that are not in a package
<d_bot> <colin> I've added a package name corresponding to a folder containing code for a library (with its own `dune` file). It has generated documentation with nothing in it. Do I need to write `.mli` files or something?
<d_bot> <mnxn> I guess so
<d_bot> <mnxn> It's good practice anyways
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
<d_bot> <colin> alright so now it's generating docs with broken links
<d_bot> <mnxn> How so?
<d_bot> <mnxn> Actually I don't think an `.mli` file is neccessary
<d_bot> <mnxn> You just need `public_name` in the dune file
<d_bot> <colin> Then you need `.opam` files apparently.
<d_bot> <colin> I wish this documentation stuff was more hacky.
<d_bot> <mnxn> No?
<d_bot> <mnxn> dune doesn't say anything about opam files
<d_bot> <colin> adding `(public_name xyz)` to the `dune` file for a library says that I must add a `xyz.opam` file at the root of my project
<d_bot> <mnxn> What version of dune are you using?
<d_bot> <mnxn> I don't get that on version 2.8.4
<d_bot> <colin> `2.7.1`
<d_bot> <froyo> i get that too
<d_bot> <froyo> for generate_opam_files to work, you need an empty stub
<d_bot> <froyo> at least that is
<d_bot> <colin> sigh, as nice as odoc seems, it just seems like it only works if you have things configured in a specific way
<d_bot> <froyo> also hi colin
<d_bot> <colin> I yearn for a hacky tool that just does what I say and doesn't violate the DWIM (Do What I Mean) principle
<d_bot> <mnxn> This generates documentation just fine for me
<d_bot> <colin> I'll try that then try apply it to my current situation
<d_bot> <colin> weird, it works
<d_bot> <colin> must just be the case that I've managed to setup a project structure that odoc doesn't understand
borne has joined #ocaml
Serpent7776 has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
tane has quit [Quit: Leaving]
mxns has quit [Ping timeout: 250 seconds]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Tuplanolla has quit [Quit: Leaving.]
borne has quit [Ping timeout: 276 seconds]
borne has joined #ocaml
bjorkintosh has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mfp has quit [Ping timeout: 265 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]