adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
pierpal has quit [Ping timeout: 240 seconds]
laudecay has joined #ocaml
<laudecay> hey im getting errors about "io_vector" not being found but im importing lwt_unix and lwt, and i'm compiling with mirage under my current opam switch
<laudecay> (which has lwt installed)
<laudecay> io_vector is p clearly defined in the docs for lwt
NSA_Spy has quit [Ping timeout: 240 seconds]
NSA_Spy has joined #ocaml
FreeBirdLjj has joined #ocaml
kleisli has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 240 seconds]
serge has quit [Ping timeout: 268 seconds]
kleisli has joined #ocaml
olle has quit [Ping timeout: 272 seconds]
olle has joined #ocaml
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
Haudegen has quit [Ping timeout: 260 seconds]
vicfred has joined #ocaml
olle has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
pierpal has joined #ocaml
NSA_Spy has quit [Remote host closed the connection]
olle has quit [Ping timeout: 260 seconds]
NSA_Spy has joined #ocaml
olle has joined #ocaml
FreeBirdLjj has joined #ocaml
NSA_Spy has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
NSA_Spy has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
serge has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
serge has quit [Ping timeout: 268 seconds]
NSA_Spy has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
mfp has quit [Ping timeout: 260 seconds]
wingsorc has quit [Ping timeout: 245 seconds]
malina has joined #ocaml
tormen has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
tormen_ has quit [Ping timeout: 265 seconds]
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Read error: Connection reset by peer]
Not_A_NSA_Spy has joined #ocaml
Undercover_Russi has joined #ocaml
Not_A_NSA_Spy has quit [Read error: Connection reset by peer]
serge_ has joined #ocaml
kleisli has quit [Ping timeout: 272 seconds]
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
serge_ has quit [Ping timeout: 260 seconds]
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
malina has quit [Ping timeout: 260 seconds]
Undercover_Russi has quit [Remote host closed the connection]
Undercover_Russi has joined #ocaml
gravicappa has joined #ocaml
malina has joined #ocaml
Undercover_Russi has quit [Ping timeout: 245 seconds]
serge_ has joined #ocaml
serge_ has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
ostera has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
malina has quit [Remote host closed the connection]
dborisog has joined #ocaml
FreeBirdLjj has joined #ocaml
mbuf has joined #ocaml
kakadu has joined #ocaml
tane has joined #ocaml
Haudegen has joined #ocaml
pierpal has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
jnavila has joined #ocaml
stephe has quit [Read error: Connection reset by peer]
chewbranca has quit [Read error: Connection reset by peer]
stephe has joined #ocaml
chewbranca has joined #ocaml
SrPx has quit [Read error: Connection reset by peer]
rdivyanshu has quit [Read error: Connection reset by peer]
rdivyanshu has joined #ocaml
SrPx has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
nullifidian__ has quit [Ping timeout: 272 seconds]
mfp has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
nullifidian has joined #ocaml
tane has quit [Quit: Leaving]
zolk3ri has joined #ocaml
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
kakadu has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
TheRuralJuror has joined #ocaml
tane has joined #ocaml
<Leonidas> did you reference it correctly? Just including lwt in the build does not mean it is opened.
picolino has quit [Remote host closed the connection]
jnavila_ has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
zolk3ri has quit [Quit: Lost terminal]
olle has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
pierpal has quit [Remote host closed the connection]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
pierpal has joined #ocaml
webshinra has quit [Remote host closed the connection]
pierpal has quit [Ping timeout: 240 seconds]
webshinra has joined #ocaml
zekt83 has quit [Ping timeout: 258 seconds]
zekt83 has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
daharon has joined #ocaml
<daharon> Hey guys, I'm learning OCaml and I'm having a heck of a time trying to get [@@deriving show] to work. It seems like there has been big changes in this area recently and I think I'm running into old information in my searches. I'm using OCaml 4.09.0 and Dune 2.2.0. Can someone please point me to an example dune-file that sets up PPX correctly?
pierpal has joined #ocaml
<Armael> just adding (preprocess (pps ppx_deriving.show)) should do the trick
<daharon> Armael, then I get the error "Unbound value show" when I try and use `show <variable>`.
pierpal has quit [Read error: Connection reset by peer]
gareppa has joined #ocaml
<Armael> can you post your complete code?
gareppa has quit [Remote host closed the connection]
pierpal has joined #ocaml
<Armael> the name of the function generated for type "expr" is "show_expr" not "show"
<Armael> (and you have to pass it a printer for its parameter (the 'a) )
<daharon> Armael, What should I use as the "printer"?
picolino has joined #ocaml
<Armael> here it seems you have a "mail_predicate expression" and a "string expression"
<Armael> so a printer for mail_predicate and string, respectively
<Armael> ie pp_mail_predicate (generated by the earlier [@@deriving show]), and, I want to say Format.pp_print_string
<Armael> but for some reason Base choses to emit a warning for the second one (from the standard library)
<daharon> Armael, You mean to write like so? print_endline (show_expr pp_mail_predicate expression)
FreeBirdLjj has quit [Remote host closed the connection]
<Armael> yes
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 265 seconds]
<daharon> Error (alert deprecated): module Base.Format
<daharon> Must be something else, now.
<Armael> yes that's the warning I was referring to
<Armael> not sure why Base decided to shadow Format from the stdlib and deprecate it
<Armael> I don't use base myself so idk
<daharon> I'm using the Real World OCaml book. It's using Base.
<daharon> I'll search. So far this has helped, though. Thanks.
averell has quit [Quit: .]
decentpenguin has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
<daharon> Caml.Format.pp_print_string worked.
<daharon> Is there an easier way? Kind of like Rust's #[derive(Debug)]?
zekt83 has quit [Quit: Ping timeout (120 seconds)]
wingsorc has joined #ocaml
TheRuralJuror has quit [Quit: Bin weg.]
averell has joined #ocaml
zekt83 has joined #ocaml
serge has joined #ocaml
pierpal has quit [Ping timeout: 260 seconds]
pierpal has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
kleisli has joined #ocaml
<rgrinberg> daharon there's no easier way
daharon has quit [Quit: Leaving]
zekt833 has joined #ocaml
zekt83 has quit [Ping timeout: 260 seconds]
oni-on-ion has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
mbuf has quit [Quit: Leaving]
NSA_Spy has joined #ocaml
pierpal has quit [Ping timeout: 260 seconds]
zekt8337 has joined #ocaml
zekt833 has quit [Quit: Ping timeout (120 seconds)]
pierpal has joined #ocaml
sagax has quit [Remote host closed the connection]
nullifidian_ has joined #ocaml
nullifidian has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
oni-on-ion has quit [Ping timeout: 240 seconds]
oni-on-ion has joined #ocaml
sagax has joined #ocaml
nullcone has joined #ocaml
Fardale has quit [Ping timeout: 252 seconds]
aubian has quit [Ping timeout: 246 seconds]
Hrundi_V_Bakshi has joined #ocaml
aubian has joined #ocaml
Fardale has joined #ocaml
kleisli has quit [Ping timeout: 260 seconds]
decentpenguin has quit [Quit: decentpenguin]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
TheLemonMan has joined #ocaml
olle has quit [Ping timeout: 268 seconds]
olle has joined #ocaml
kleisli has joined #ocaml
ggole has quit [Quit: Leaving]
gendarme has joined #ocaml
NSA_Spy has quit [Remote host closed the connection]
NSA_Spy has joined #ocaml
gendarme has quit [Remote host closed the connection]
gendarme has joined #ocaml
gendarme has quit [Remote host closed the connection]
gendarme has joined #ocaml
ArthurStrong has quit [Quit: leaving]
malina has joined #ocaml
jnavila_ has quit [Remote host closed the connection]
jnavila has joined #ocaml
mahmudov has quit [Ping timeout: 268 seconds]
dborisog has quit [Ping timeout: 240 seconds]
gravicappa has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
jnavila has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
gendarme has quit [Remote host closed the connection]
gendarme has joined #ocaml
mahmudov has joined #ocaml
landonf_ has quit [Quit: ZNC - http://znc.sourceforge.net]
landonf has joined #ocaml
dckc has quit [Ping timeout: 272 seconds]
dckc has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
Serpent7776 has quit [Quit: leaving]
serge has joined #ocaml
tane has quit [Quit: Leaving]
serge has quit [Ping timeout: 272 seconds]
Hrundi_V_Bakshi has quit [Ping timeout: 240 seconds]
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
Haudegen has quit [Ping timeout: 272 seconds]