Hrundi_V_Bakshi has quit [Ping timeout: 265 seconds]
mfp has quit [Ping timeout: 265 seconds]
Haudegen has quit [Ping timeout: 246 seconds]
HyperTables has joined #ocaml
vicfred has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ocaml
shmibs has quit [Quit: leaving =o]
shmibs has joined #ocaml
mbuf has joined #ocaml
_whitelogger has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
raver has quit [Remote host closed the connection]
dborisog has joined #ocaml
<Leonidas>
companion_cube: ocaml-protoc had so many issues we wrote *two* replacements
tinga has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
bartholin has joined #ocaml
raver has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
jnavila has joined #ocaml
mfp has joined #ocaml
Haudegen has joined #ocaml
malc_ has joined #ocaml
inkbottle has joined #ocaml
zebrag has quit [Ping timeout: 256 seconds]
<flux1>
I haven't used ocamlc-protoc, but it has probably the same problem as other protobuf-converters: it uses protobuf
<flux1>
is it a feature of Sedlex that the syntax `match%sedlex` seems to work only in the top-level of functions?
<flux1>
actually the rule seems to be "inside a let"
<flux1>
or at least "not inside a pattern matching without being inside a let" :)
webshinra has quit [Remote host closed the connection]
webshinra has joined #ocaml
<theblatte>
in a dune file for a sub-library of my project, I would like to add a (preprocessor_deps (file ../foo)) but dune cannot find "foo" even though it's the correct path from the project root
<theblatte>
if I put foo in the same directory as my library then dune is happy but I'm not
<theblatte>
I'm guessing I need to give up and maybe use (copy_files ) so dune can pretend files are where it wants it but is there another way?
<theblatte>
oh, it's my fault: I didn't add the directory where "foo" is to the (dirs ) stanza at the root of my project
t0b0 is now known as tobiasBora2
FreeBirdLjj has joined #ocaml
tane has joined #ocaml
raver has quit [Read error: Connection reset by peer]
vicfred has quit [Quit: Leaving]
match_it has joined #ocaml
raver has joined #ocaml
<match_it>
hi all. I'm beginner with ocam. I receive an error compiling a package. The error concerns GCC and I would switch to G++. Where can I set default system compiler?
<companion_cube>
ah but this uses the official protoc, right?
FreeBirdLjj has quit [Ping timeout: 272 seconds]
asoni has quit [Quit: asoni]
Hrundi_V_Bakshi has joined #ocaml
<flux1>
for some reason `Lwt_main.run` + `Cohttp_lwt_unix.Client.post` spins my CPU at 100% while an `Lwt.pick` + `Lwt_unix.timeout` -mechanism cannot stop it from running. any ideas?
mbuf has quit [Quit: Leaving]
<flux1>
hmm, OUnit2 has support/perhaps uses lwt internally, so perhaps that's they key?
<flux1>
..but the funny thing is that I saw it working a few times
oriba has joined #ocaml
<flux1>
using the lwt_wrapper from ounit2-lwt seems to have resolved it
<flux1>
quite a stupid error mode though :/
jnavila has quit [Quit: Konversation terminated!]
peterbb has quit [Quit: peterbb]
peterbb has joined #ocaml
rgrinberg has quit [Ping timeout: 272 seconds]
<higherorder>
Hello! I am new to Ocaml and I have a basic question on modules. Is it common to have one module per type? For example if I am modelling an AST, would it make sense to have one module for each type of node in the AST, with an abstract type for the node and a function to construct a node of that type?
rgrinberg has joined #ocaml
<def>
no
<def>
mutually recursive types are almost always defined in the same module.