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
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
zolk3ri has quit [Quit: Lost terminal]
sillyotter has joined #ocaml
sillyotter has quit [Client Quit]
cross has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
ziyourenxiang has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 245 seconds]
dmbaturin has quit [Ping timeout: 272 seconds]
dmbaturin has joined #ocaml
lostman has joined #ocaml
pierpal has joined #ocaml
MadcapJake has quit [Quit: MadcapJake]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
_whitelogger has joined #ocaml
carlosdagos has joined #ocaml
dtornabene has joined #ocaml
tormen has joined #ocaml
dtornabene has quit [Remote host closed the connection]
tormen_ has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 264 seconds]
mfp has quit [Ping timeout: 252 seconds]
lostman has quit [Quit: Connection closed for inactivity]
atomicthumbs_ has joined #ocaml
atomicthumbs_ has quit [Remote host closed the connection]
steenuil_ has quit [Read error: Connection reset by peer]
_whitelogger has joined #ocaml
_whitelogger has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
pierpal has quit [Read error: Connection reset by peer]
freyr69 has joined #ocaml
sagotch has joined #ocaml
mildtaste has joined #ocaml
ygrek__ has joined #ocaml
orbifx1 has joined #ocaml
Haudegen has joined #ocaml
orbifx1 has quit [Ping timeout: 244 seconds]
rwmjones has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rwmjones has joined #ocaml
bacam has quit [Quit: reboot]
bacam has joined #ocaml
averell has quit [Quit: .]
marvin3 has joined #ocaml
kakadu has joined #ocaml
marvin2 has quit [Ping timeout: 252 seconds]
manas has joined #ocaml
asymptotically has joined #ocaml
themsay has quit [Ping timeout: 276 seconds]
__Lorn__ has joined #ocaml
__Lorn__ has quit [Client Quit]
carlosdagos has quit [Quit: Connection closed for inactivity]
mfp has joined #ocaml
Haudegen has quit [Remote host closed the connection]
ggole has joined #ocaml
sagotch has quit [Quit: Leaving.]
on_ion has quit [Ping timeout: 252 seconds]
eagleflo has joined #ocaml
sagotch has joined #ocaml
demonimin has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
demonimin has joined #ocaml
demonimin has quit [Changing host]
demonimin has joined #ocaml
Rhonda21 has joined #ocaml
voglerr has joined #ocaml
voglerr has quit [Client Quit]
Rhonda21 has quit [Ping timeout: 250 seconds]
voglerr has joined #ocaml
voglerr has quit [Client Quit]
zolk3ri has joined #ocaml
freyr69 has quit [Remote host closed the connection]
two_wheels has joined #ocaml
Mmike23 has joined #ocaml
Mmike23 has quit [Remote host closed the connection]
manas has quit [Remote host closed the connection]
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ocaml
Haudegen has joined #ocaml
al-damiri has joined #ocaml
manas has joined #ocaml
skace14 has joined #ocaml
skace14 has quit [Ping timeout: 252 seconds]
manas has quit []
recj has joined #ocaml
pierpal has joined #ocaml
infinity0 has quit [Ping timeout: 246 seconds]
infinity0 has joined #ocaml
ziyourenxiang has quit [Ping timeout: 272 seconds]
averell has joined #ocaml
jao has joined #ocaml
bartholin has joined #ocaml
rseymour has quit [Quit: WeeChat 1.0.1]
Haudegen has quit [Remote host closed the connection]
recj has quit [Ping timeout: 246 seconds]
zolk3ri has quit [Remote host closed the connection]
Asandari has joined #ocaml
Asandari has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
<copy`> vim user survey: Should operators be highlighted? (https://github.com/rgrinberg/vim-ocaml/pull/30)
<companion_cube> huh, no idea, I should try it with my colorscheme :s
Guest66485 has joined #ocaml
wilfredh has joined #ocaml
<wilfredh> hello all :)
<wilfredh> I have a dumb ocaml syntax question
<wilfredh> how do I pattern match on multiple arguments? https://gist.github.com/Wilfred/a224ed25d398babbb17653561a51dbbe
<octachron> pattern match on tuples: "let f x y = match x, y with [], [] -> ... "
<ggole> fun x y -> match x, y with 0, 1 -> ... | 2, 3 -> ...
<wilfredh> so I can't use `function` in this case?
<ggole> function only allows one argument
<ggole> (You could make it a tuple, but that isn't really idiomatic in OCaml.)
<wilfredh> the nice thing about `function` is that it saves you writing the variable name twice, but c'est la vie
Guest66485 has quit [Remote host closed the connection]
<thizanne> wilfredh: you probably know that can use `fun` for multiple parameters but no pattern matching : let f = fun a b -> a + b
<ggole> Yeah, I've often wanted multiple argument function
<thizanne> back in the days of caml light, that also worked for pattern matching, I'm not sure why this has been removed but there probably was a good reason
<ggole> The constructor syntax isn't quite right for it in OCaml
<enikar> I dislike the tuple solution. that breaks currying…
<ggole> eg, if constructor application were Foo a b c, then multiple arg function would be fairly nice: function (Foo a b c) (Bar d e) ->
<ggole> But, no.
sagotch has quit [Quit: Leaving.]
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #ocaml
kakadu_ has joined #ocaml
jnavila has joined #ocaml
averell- has joined #ocaml
averell has quit [Ping timeout: 252 seconds]
themsay has joined #ocaml
averell- is now known as averell
themsay has quit [Ping timeout: 244 seconds]
ggole has quit [Quit: ggole]
sagotch has joined #ocaml
jknick has quit [Quit: Lost terminal]
sagotch has quit [Quit: Leaving.]
zolk3ri has quit [Remote host closed the connection]
recj has joined #ocaml
waleee has quit [Quit: WeeChat 2.2]
demonimin has quit [Ping timeout: 246 seconds]
demonimin has joined #ocaml
bartholin has quit [Remote host closed the connection]
demonimin has quit [Ping timeout: 240 seconds]
recj has quit [Ping timeout: 240 seconds]
themsay has joined #ocaml
demonimin has joined #ocaml
demonimin has joined #ocaml
ygrek__ has quit [Ping timeout: 252 seconds]
jnavila has quit [Remote host closed the connection]
Guest76100 has joined #ocaml
recj has joined #ocaml
demonimin has quit [Ping timeout: 246 seconds]
asymptotically has quit [Quit: Leaving]
demonimin has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
themsay has quit [Ping timeout: 252 seconds]
demonimin has quit [Ping timeout: 244 seconds]
recj has quit [Ping timeout: 245 seconds]
recj has joined #ocaml
demonimin has joined #ocaml
demonimin has joined #ocaml
demonimin has quit [Changing host]
Guest76100 has quit [Remote host closed the connection]
anton-trunov has quit [Ping timeout: 260 seconds]
anton-trunov has joined #ocaml
demonimin has quit [Ping timeout: 246 seconds]
demonimin has joined #ocaml
recj has quit [Ping timeout: 246 seconds]