troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
zolk3ri has quit [Quit: leaving]
troydm has joined #ocaml
KeyJoo has joined #ocaml
troydm has quit [Client Quit]
troydm has joined #ocaml
demonimin has quit [Quit: bye]
Haudegen has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 272 seconds]
demonimin has joined #ocaml
demonimin has quit [Quit: bye]
KeyJoo has quit [Quit: KeyJoo]
KeyJoo has joined #ocaml
anmonteiro has quit [Remote host closed the connection]
demonimin has joined #ocaml
demonimin has quit [Remote host closed the connection]
demonimin has joined #ocaml
demonimin has quit [Client Quit]
demonimin has joined #ocaml
recj has quit [Ping timeout: 244 seconds]
anmonteiro has joined #ocaml
objmagic has joined #ocaml
anmonteiro has quit [Ping timeout: 272 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 272 seconds]
pierpal has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
jao has quit [Remote host closed the connection]
marsam has quit [Remote host closed the connection]
jao has joined #ocaml
anmonteiro has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
KeyJoo has quit [Quit: KeyJoo]
jao has quit [Remote host closed the connection]
anmonteiro has quit [Ping timeout: 246 seconds]
objmagic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonologico has joined #ocaml
sonologico has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
_whitelogger has joined #ocaml
pierpal has quit [Remote host closed the connection]
anmonteiro 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]
anmonteiro has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
jao has quit [Ping timeout: 250 seconds]
_whitelogger_ has joined #ocaml
_whitelogger has quit [Ping timeout: 268 seconds]
fraxamo has joined #ocaml
_whitelogger has joined #ocaml
FreeBirdLjj has joined #ocaml
anmonteiro has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ocaml
FreeBirdLjj has joined #ocaml
anmonteiro has quit [Ping timeout: 246 seconds]
notzmv has joined #ocaml
jnavila has joined #ocaml
steenuil has quit [Ping timeout: 245 seconds]
kakadu has joined #ocaml
anmonteiro has joined #ocaml
notzmv has quit [Quit: WeeChat 2.3]
anmonteiro has quit [Ping timeout: 244 seconds]
steenuil has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
anmonteiro 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
orbifx has joined #ocaml
anmonteiro has quit [Ping timeout: 268 seconds]
webshinra has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
sonologico has quit [Ping timeout: 252 seconds]
anmonteiro has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
anmonteiro has joined #ocaml
orbifx has joined #ocaml
sonologico has joined #ocaml
zolk3ri has joined #ocaml
jao has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
<orbifx>
has anyone noticed if mixing executable and libraries in the same repository is a bad idea? (generally)
<orbifx>
for dune builds
pierpal has joined #ocaml
sonologico has quit [Remote host closed the connection]
sonologico has joined #ocaml
anmonteiro has quit [Remote host closed the connection]
anmonteiro has joined #ocaml
anmonteiro has quit [Remote host closed the connection]
<companion_cube>
in my experience it's fine?
orbifx has quit [Ping timeout: 268 seconds]
jao has joined #ocaml
anmonteiro has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
themsay has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
jnavila has quit [Ping timeout: 252 seconds]
jao has quit [Remote host closed the connection]
objmagic has joined #ocaml
anmonteiro has quit [Remote host closed the connection]
anmonteiro has joined #ocaml
marvin2 has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
mal`` has quit [Ping timeout: 252 seconds]
marvin2 has joined #ocaml
themsay has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ocaml
jnavila has joined #ocaml
themsay has quit [Ping timeout: 272 seconds]
orbifx has joined #ocaml
<orbifx>
companion_cube: was that a reply to my question?
marvin2 has quit []
marvin2 has joined #ocaml
sonologico has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
mengu has joined #ocaml
mal`` has joined #ocaml
Haudegen has quit [Remote host closed the connection]
orbifx has quit [Ping timeout: 250 seconds]
mengu has quit [Remote host closed the connection]
themsay has joined #ocaml
themsay has quit [Ping timeout: 250 seconds]
Jeanne-Kamikaze has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
themsay has joined #ocaml
themsay has quit [Ping timeout: 240 seconds]
rain1 has quit [Ping timeout: 244 seconds]
rain2 has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
themsay has joined #ocaml
fraxamo has quit [Quit: Leaving]
Haudegen has joined #ocaml
anmonteiro has quit [Remote host closed the connection]
anmonteiro has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
mengu has joined #ocaml
zolk3ri has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
mengu has quit [Ping timeout: 245 seconds]
ville_ has joined #ocaml
themsay has quit [Ping timeout: 250 seconds]
themsay has joined #ocaml
<ville_>
Hi, is there possibility to do pattern matching without "destructuring" the type variable? Let's say I have following match: << | MyType (a, b) -> someFn (MyType (a, b)) >> note that I need to reinit the same structure when passing it forward
<ville_>
So is there some way to match MyType without needing to take a and b out of it, and just pass it forward?
<_y>
ville_, yes, write « | MyType (a, b) as x -> someFn x »
<_y>
also, if you don’t use a and b, you can avoid naming them: | MyType (_, _) as x -> someFn x
<_y>
you can use “as” to bind an inner piece, using parentheses: | a :: (_ :: _ as nonempty_tail) -> ...
<ville_>
Perfect, exactly what I needed, thanks _y!