adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
AntiComposite27 has joined #ocaml
AntiComposite27 has quit [Remote host closed the connection]
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
ziyourenxiang has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
Algebr has quit [Ping timeout: 244 seconds]
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
Algebr has joined #ocaml
mfp has quit [Ping timeout: 272 seconds]
Algebr has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
Algebr has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
keep_learning has joined #ocaml
tormen has joined #ocaml
keep_learning has quit [Client Quit]
tormen_ has quit [Ping timeout: 268 seconds]
nikivi has quit [Ping timeout: 252 seconds]
dx has quit [Ping timeout: 264 seconds]
jao has quit [Disconnected by services]
jao has joined #ocaml
dx has joined #ocaml
nikivi has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
jao has quit [Disconnected by services]
jao has joined #ocaml
jao has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
xvilka has quit [Ping timeout: 252 seconds]
xvilka has joined #ocaml
KeyJoo has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
roryrjb has joined #ocaml
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
ggole has quit [Ping timeout: 252 seconds]
env__ has quit [Ping timeout: 250 seconds]
Algebr has quit [Ping timeout: 250 seconds]
Guest511 has joined #ocaml
ggole has joined #ocaml
Guest511 has quit [Ping timeout: 246 seconds]
ggole has quit [Ping timeout: 264 seconds]
ggole has joined #ocaml
kakadu has joined #ocaml
env__ has joined #ocaml
kakadu_ has quit [Ping timeout: 250 seconds]
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
ggole has quit [Ping timeout: 250 seconds]
jbkcc has joined #ocaml
roryrjb2 has joined #ocaml
roryrjb has quit [Ping timeout: 250 seconds]
ggole has joined #ocaml
roryrjb3 has joined #ocaml
roryrjb2 has quit [Ping timeout: 250 seconds]
roryrjb3 has quit [Ping timeout: 250 seconds]
roryrjb2 has joined #ocaml
jbkcc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
webshinra has quit [Remote host closed the connection]
roryrjb has joined #ocaml
roryrjb2 has quit [Ping timeout: 268 seconds]
sagotch has joined #ocaml
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
roryrjb has quit [Ping timeout: 272 seconds]
keep_learning has joined #ocaml
roryrjb has joined #ocaml
keep_learning has quit [Client Quit]
KeyJoo has quit [Quit: KeyJoo]
roryrjb has quit [Ping timeout: 272 seconds]
roryrjb has joined #ocaml
infinity0 has quit [Remote host closed the connection]
gravicappa has joined #ocaml
mfp has joined #ocaml
slamzy has joined #ocaml
mengu has joined #ocaml
silenc3r has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
jaar has joined #ocaml
env__ has joined #ocaml
jaar_ has joined #ocaml
jaar has quit [Ping timeout: 250 seconds]
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
keep_learning has joined #ocaml
env__ has joined #ocaml
keep_learning has quit [Client Quit]
mengu has quit [Quit: Leaving...]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
webshinra has joined #ocaml
sagotch has quit [Quit: Leaving.]
Bronsa has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
awal has joined #ocaml
awal is now known as Guest78937
Guest78937 is now known as awal
roryrjb has quit [Ping timeout: 240 seconds]
jaar has joined #ocaml
jaar_ has quit [Ping timeout: 252 seconds]
sagotch has joined #ocaml
Niamkik has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
env__ has quit [Ping timeout: 250 seconds]
spew has joined #ocaml
env__ has joined #ocaml
spew is now known as so_spew
so_spew is now known as spew
<wilfredh> is it possible to use `when` with fallthrough in ocaml pattern matching?
<wilfredh> I want to do something like this: https://gist.github.com/Wilfred/ad0978bc894201b21ce823bad60a207a but it's a syntax error
gravicappa has joined #ocaml
<companion_cube> no, you can't
<companion_cube> there can only be a single pattern before `when`
<companion_cube> (Foo | Bar) when … -> … works
<companion_cube> but Foo when … | Bar -> … doesn't
<wilfredh> companion_cube: thanks, that's helpful :)
paladox19 has joined #ocaml
paladox19 has quit [Remote host closed the connection]
silver has joined #ocaml
* wilfredh wonders if that's a consequence of ocaml's design or just a limitation from the implementation
<companion_cube> I'm not sure
<wilfredh> in my sample code, it's still exhaustive, but maybe there are more complex situations where you can't check exhaustivity
<ggole> guards aren't meaningfully checked for exhaustivity, it's just assumed that they could go either way
<ggole> eg, if you write match foo with x when x >= 0 -> ... | x when x < 0, you will get a warning
<zozozo> in those cases, i usually put the second guard in comments, so that the compiler is happy, but you have the guard in mind when reading the code
quipa has joined #ocaml
<ggole> An assertion is also good for that (although more verbose)
<companion_cube> I use an assertion
<companion_cube> | _ -> assert (x<0); …
Bronsa has joined #ocaml
infinity0 has joined #ocaml
ggole has quit [Ping timeout: 252 seconds]
slamzy has quit [Remote host closed the connection]
ggole has joined #ocaml
ziyourenxiang has quit [Ping timeout: 250 seconds]
infinity0 has quit [Read error: Connection reset by peer]
infinity0 has joined #ocaml
silenc3r has quit [Remote host closed the connection]
silenc3r has joined #ocaml
env__ has quit [Ping timeout: 245 seconds]
silenc3r has quit [Remote host closed the connection]
bartholin has joined #ocaml
silver has quit [Quit: rakede]
jao has joined #ocaml
slamzy has joined #ocaml
Guest511 has joined #ocaml
Guest511 has quit [Remote host closed the connection]
Guest511 has joined #ocaml
env__ has joined #ocaml
Guest511 has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 246 seconds]
sagotch has quit [Quit: Leaving.]
Algebr has joined #ocaml
Algebr has quit [Remote host closed the connection]
chjk6x has joined #ocaml
fraxamo has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
quipa has quit [Remote host closed the connection]
jnavila has joined #ocaml
silenc3r has joined #ocaml
ggole has quit [Quit: ggole]
ygrek has joined #ocaml
Jesin has quit [Quit: Leaving]
kakadu has quit [Remote host closed the connection]
Jesin has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
jaar has quit [Quit: Leaving]
Algebr has joined #ocaml
slamzy has quit [Ping timeout: 256 seconds]
freyr69 has joined #ocaml
<freyr69> Is flambda on by default on latest compilers?
nullifidian_ has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
<octachron> no
mengu has joined #ocaml
env__ has joined #ocaml
kakadu has joined #ocaml
jnavila has quit [Ping timeout: 268 seconds]
jnavila has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
fraxamo has quit [Quit: Leaving]
silenc3r has quit [Remote host closed the connection]
mengu_ has joined #ocaml
tane has joined #ocaml
mengu has quit [Ping timeout: 250 seconds]
gareppa has joined #ocaml
gravicappa has quit [Ping timeout: 250 seconds]
spew has quit [Quit: going home]
Algebr has quit [Ping timeout: 250 seconds]
Guest15957 has joined #ocaml
Guest15957 has quit [Ping timeout: 250 seconds]
orbifx has joined #ocaml
<orbifx> hello all
bartholin has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
jbkcc has joined #ocaml
Guest15957 has joined #ocaml
Guest15957 has quit [Remote host closed the connection]
Algebr` has joined #ocaml
kalloc has joined #ocaml
kakadu has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 246 seconds]
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
groovy2shoes has quit [Quit: moritura te salutat]
tane has quit [Quit: Leaving]
nahra has joined #ocaml
orbifx has quit [Ping timeout: 268 seconds]
zmt00 has quit [Ping timeout: 252 seconds]
zmt00 has joined #ocaml
freyr69 has quit [Remote host closed the connection]
mengu_ has quit [Remote host closed the connection]
Algebr` has quit [Ping timeout: 250 seconds]
ziyourenxiang has joined #ocaml
chjk6x has quit [Ping timeout: 250 seconds]
jbkcc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Algebr` has joined #ocaml
jbkcc has joined #ocaml
orbifx has joined #ocaml
orbifx has quit [Ping timeout: 246 seconds]