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
rwmjones has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rwmjones has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
sleepyd0g has joined #ocaml
sleepydog has quit [Ping timeout: 246 seconds]
olle has quit [Ping timeout: 246 seconds]
olle has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
nullcone has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
dborisog has joined #ocaml
mfp has quit [Ping timeout: 258 seconds]
dborisog has quit [Read error: Connection reset by peer]
dborisog has joined #ocaml
adrianbrink has quit [Read error: Connection reset by peer]
adrianbrink has joined #ocaml
leah2 has quit [Ping timeout: 246 seconds]
chripell has joined #ocaml
leah2 has joined #ocaml
mbuf has joined #ocaml
sleepyd0g has quit [Ping timeout: 260 seconds]
sleepyd0g has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
nicoo has quit [Remote host closed the connection]
copy has quit [Ping timeout: 265 seconds]
tane_ has joined #ocaml
nicoo has joined #ocaml
copy has joined #ocaml
olle_ has joined #ocaml
dckc has quit [Ping timeout: 256 seconds]
dckc has joined #ocaml
copy has quit [Ping timeout: 264 seconds]
Haudegen has joined #ocaml
copy has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 258 seconds]
shmibs has quit [Ping timeout: 246 seconds]
shmibs has joined #ocaml
bartholin has quit [Read error: Connection reset by peer]
copy has quit [Ping timeout: 260 seconds]
jbrown has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
sagax has joined #ocaml
mfp has joined #ocaml
copy has joined #ocaml
copy has quit [Ping timeout: 264 seconds]
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
Anarchos has joined #ocaml
muskan has joined #ocaml
muskan has left #ocaml [#ocaml]
rfv has quit [Ping timeout: 240 seconds]
Boarders has quit [Read error: Connection reset by peer]
Boarders has joined #ocaml
eterps has quit [Read error: Connection reset by peer]
lopex has quit [Ping timeout: 258 seconds]
chewbranca has quit [Read error: Connection reset by peer]
eterps has joined #ocaml
JSharp has quit [Read error: Connection reset by peer]
stephe has quit [Read error: Connection reset by peer]
chewbranca has joined #ocaml
lopex has joined #ocaml
stephe has joined #ocaml
rfv has joined #ocaml
JSharp has joined #ocaml
muskan has joined #ocaml
Anarchos has quit [Ping timeout: 256 seconds]
copy has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
peterbb has quit [Quit: peterbb]
dckc has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
dckc has joined #ocaml
Fardale has quit [Quit: sparu]
waleee-cl has joined #ocaml
FreeBirdLjj has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
leah2 has quit [Ping timeout: 272 seconds]
mbuf has quit [Quit: Leaving]
leah2 has joined #ocaml
smazga has joined #ocaml
bartholin has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
amosbird has joined #ocaml
leah2 has quit [Ping timeout: 256 seconds]
amosbird has quit [Client Quit]
amosbird has joined #ocaml
olle_ has quit [Ping timeout: 256 seconds]
sleepyd0g has quit [Ping timeout: 258 seconds]
inkbottle has quit [Ping timeout: 260 seconds]
inkbottle has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
dborisog has quit [Ping timeout: 256 seconds]
mbuf has joined #ocaml
leah2 has joined #ocaml
chripell has quit [Ping timeout: 264 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
nullcone has joined #ocaml
<theblatte> dumb question: how do I print a '<' just after "@[" in Format? :D
muskan has quit [Ping timeout: 245 seconds]
<theblatte> (I know I could split my string but that's no fun)
<companion_cube> maybe @[@<<> ?
<theblatte> companion_cube: no that prints "@<<"
<theblatte> I suspect it's not possible!
<theblatte> I went for F.fprintf f "@[%cblah" '<'
<companion_cube> :D wow
<theblatte> I didn't see anythin in man Format about escaping that <
<theblatte> +g
Hrundi_V_Bakshi has joined #ocaml
<companion_cube> Format.printf "@[@<1>< coucou@]@.";;
<companion_cube> this seems to work
<theblatte> but that potentially messes up the printing ^^
<companion_cube> why so?
<theblatte> because I didn't understand the man page the first time I read it, should work indeed :)
<theblatte> If @<n> is not followed by a conversion specification, then the following character of the format is printed as if it were of length n .
<companion_cube> it's super useful for unicode stuff
<companion_cube> @<1>🐫
<theblatte> I like my camels extra-thicc @<2>🐫
<companion_cube> 😂
Anarchos has joined #ocaml
<Leonidas> lol
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
mbuf has quit [Quit: Leaving]
waleee-cl has joined #ocaml
Hrundi_V_Bakshi has quit [Quit: No Ping reply in 180 seconds.]
Hrundi_V_Bakshi has joined #ocaml
delysin has quit [Quit: WeeChat 2.8]
delysin has joined #ocaml
tane_ has quit [Quit: Leaving]
mfp has quit [Ping timeout: 246 seconds]
smazga has quit [Quit: leaving]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
mfp has joined #ocaml
landonf has quit [Excess Flood]
landonf has joined #ocaml
lembot has joined #ocaml
<lembot> Is there any way of 'unwrapping' a polymorphic variant? I need to access a key in the record argument of a pv. (e.g. (`Foo {x=1; y=2}).x)
<lembot> Can't unwrap with pattern matching because I don't know the name of the variant beforehand. I need a generic way.
Hrundi_V_Bakshi has quit [Ping timeout: 256 seconds]
Serpent7776 has quit [Quit: leaving]
lembot has quit [Ping timeout: 256 seconds]
jbrown has quit [Ping timeout: 272 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
<dash> lembot: hmm, that suggests your data needs a different shape
<dash> what's this data represent?