companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
fcambus has left #ocaml [#ocaml]
pi3ce has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
chiselfu1e is now known as chiselfuse
rgrinberg has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
chrisz has quit [Ping timeout: 252 seconds]
chrisz has joined #ocaml
<discocaml_> <mm3315> I found the fact that dune does not support output obj option. But then what's the best way to resolve dependency to external libraries?
semarie has joined #ocaml
humasect has joined #ocaml
agentcas- has joined #ocaml
agentcasey has quit [Ping timeout: 252 seconds]
humasect has quit [Quit: Leaving...]
nirvdrum has joined #ocaml
ygrek has quit [Remote host closed the connection]
cr1901 has joined #ocaml
cr1901_ has quit [Ping timeout: 276 seconds]
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
euphores has quit [Client Quit]
euphores has joined #ocaml
euphores has quit [Client Quit]
hsw_ has joined #ocaml
euphores has joined #ocaml
hsw has quit [Ping timeout: 248 seconds]
Serpent7776 has joined #ocaml
bartholin has joined #ocaml
nirvdrum7 has joined #ocaml
nirvdrum has quit [Ping timeout: 248 seconds]
nirvdrum7 is now known as nirvdrum
Haudegen has joined #ocaml
bartholin has quit [Quit: Leaving]
quernd has quit [Quit: Ping timeout (120 seconds)]
quernd has joined #ocaml
m5zs7k has quit [Ping timeout: 252 seconds]
m5zs7k has joined #ocaml
Anarchos has joined #ocaml
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mro has quit [Ping timeout: 264 seconds]
olle has joined #ocaml
Haudegen has joined #ocaml
sparr has joined #ocaml
<sparr> I'm trying to use ocaml for the first time, building someone else's project. I did `opam init` `opam switch create .` `dune build`. At this point, dune says I'm missing libraries including angstrom, while `opam install angstrom` says it's already installed. Is there something obvious I might have missed?
<octachron> Did you add the angstrom dependency to the "libraries" field in your dune field?
ygrek has joined #ocaml
boozec has joined #ocaml
boozec has quit [Quit: boozec]
semarie has quit [Quit: quit]
pi3ce has quit [Ping timeout: 244 seconds]
semarie has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
euphores has quit [Quit: Leaving.]
<discocaml_> <holmdunc> Sounds like [PGX](https://ocaml.org/p/pgx/latest) (the pure OCaml PostgreSQL driver) may need to be adopted into the ocaml-community GitHub org or something: https://github.com/arenadotio/pgx/issues/133#issuecomment-2407582235
euphores has joined #ocaml
ridcully has joined #ocaml
<discocaml_> <JM> If somebody is ready to be the new owner of PGX, they can submit the package: https://github.com/ocaml-community/meta
Haudegen has quit [Quit: Bin weg.]
<discocaml_> <yawaramin> sparr: you need to install the dependencies: `opam install --with-test --with-doc --deps-only .`
<sparr> octachron: lib/dune contains "(libraries angstrom)" which is the line that produces the library not found error
<sparr> yawaramin: "[ccl.dev] synchronised (no changes)"
<sparr> here's the project if that's useful https://github.com/chshersh/ccl
mro has quit [Ping timeout: 252 seconds]
<sparr> is discocaml_ a discord bridge? Is there a public invite to that discord?
<discocaml_> <smondet> sparr: you may be just missing an `eval $(opam env)` for dune to see the libs?
<octachron> The discord invite is available on https://ocaml.org/community : https://discord.gg/cCYQbqN
humasect has joined #ocaml
humasect has quit [Client Quit]
bartholin has joined #ocaml
bibi_ has quit [Quit: Konversation terminated!]
olle has quit [Ping timeout: 244 seconds]
Haudegen has joined #ocaml
bibi_ has joined #ocaml
mro has joined #ocaml
adrien has quit [Ping timeout: 246 seconds]
adrien has joined #ocaml
mro has quit [Ping timeout: 248 seconds]
chiselfuse has quit [Read error: Connection reset by peer]
ygrek has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
ygrek has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mercxry has quit [Quit: bye]
mercxry has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml_> <Alistair> Is it possible to disable a given warning in a dune library (instead of at the `dune-project` level)?
<discocaml_> <Alistair> For context, I'm generating a parser using menhir with a `%parameter`, but I get a warning in the generated `parser.mli` , namely `unused-functor-parameter`, which is true, the parameter isn't used in the mli, but I can't modify `parser.mli` as its generated
rgrinberg has joined #ocaml
<discocaml_> <octachron> You can add `(flags (:standard -w -unused-functor-parameter))` to the corresponding library stanza
<discocaml_> <Alistair> Thanks! Works like a charm 🙂 I always forget we can pass flags directly to ocamlc using dune 🫠
<discocaml_> <ecsodikas> Hello everyone. Is my understanding about ReasonML/OCaml correct that I can basically use any syntax I want for both eco systems? Let's say I want to use ReasonReact. Do I have to use the ReasonML syntax to build something? Or can I use the OCaml syntax which I personally find a bit nicer because we have less ; and ().
<discocaml_> <octachron> Yes, ReasonML is an alternative syntax, you can choose which syntax to use in each source file as you wish.
<discocaml_> <octachron> (i.e you can mix `*.re` and `*.ml` files without troubles in the same library/executable)
<discocaml_> <deepspacejohn> Note that the React JSX syntax is included in ReasonML syntax.
<discocaml_> <ecsodikas> Aye aye, thanks a lot.
YuGiOhJCJ has joined #ocaml
chiselfuse has quit [Ping timeout: 264 seconds]
chiselfuse has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
bartholin has quit [Quit: Leaving]