<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?
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.