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
yomimono has joined #ocaml
keep_learning has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
AnAverageHuman has joined #ocaml
<Ankhers> If I have `type foo = | Foo of int | ...' and I need to pass a function as an argument of `int -> foo`, is there a shorter way than doing `fun i -> Foo i'?
<Ankhers> I was expecting to just be able to use `Foo', but I get an error that Foo expects some arguments.
mfp has quit [Ping timeout: 245 seconds]
xuib has quit [Quit: xuib]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 255 seconds]
KeyJoo has joined #ocaml
sora has joined #ocaml
AnAverageHuman has quit [Remote host closed the connection]
sora has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ocaml
gravicappa has joined #ocaml
sonologico has joined #ocaml
Keodedad has joined #ocaml
Keodedad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
okuu has joined #ocaml
ggole has joined #ocaml
okuu has quit [Remote host closed the connection]
okuu has joined #ocaml
okuu has quit [Quit: ERC (IRC client for Emacs 26.2)]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ygrek has quit [Ping timeout: 268 seconds]
ziyourenxiang__ has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
tane_ has joined #ocaml
sonologico has quit [Ping timeout: 255 seconds]
kakekongen has quit [Ping timeout: 244 seconds]
sagax has quit [Ping timeout: 250 seconds]
sagax has joined #ocaml
kakekongen has joined #ocaml
sonologico has joined #ocaml
yrjan has joined #ocaml
<flux[m]> Ankhers: no, that's the way to do it. I imagine there's a ppx for creating such functions automatically, but I cannot point you to one.
sonologico has quit [Ping timeout: 255 seconds]
kakadu_ has joined #ocaml
<shenghi> Ankhers, there's ppx_variants_conv, 'type foo = Foo of int | Bar of int [@@deriving variants]' would generate some helpers, including wrappers for the constructors.
troydm has quit [Ping timeout: 250 seconds]
troydm has joined #ocaml
mfp has joined #ocaml
logicmoo is now known as dmiles
Haudegen has joined #ocaml
tane_ has quit [Quit: Leaving]
_whitelogger has joined #ocaml
Redfoxmoon has quit [Ping timeout: 255 seconds]
kvda has joined #ocaml
kvda has quit [Client Quit]
zolk3ri has joined #ocaml
Haudegen has quit [Remote host closed the connection]
xuib has joined #ocaml
<Ankhers> flux[m], shenghi: Thanks.
Redfoxmoon has joined #ocaml
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #ocaml
Haudegen has joined #ocaml
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 244 seconds]
sonologico has joined #ocaml
tane has joined #ocaml
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 268 seconds]
Haudegen has quit [Ping timeout: 246 seconds]
ziyourenxiang__ has quit [Ping timeout: 246 seconds]
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 255 seconds]
ygrek has joined #ocaml
bjs has quit [Ping timeout: 259 seconds]
bjs has joined #ocaml
philtor has joined #ocaml
FreeBirdLjj has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
silver has joined #ocaml
gravicappa has quit [Ping timeout: 250 seconds]
xuib has quit [Ping timeout: 244 seconds]
xuib has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
weird_error has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
sonologico has quit [Ping timeout: 250 seconds]
weird_error has quit [Quit: weird_error]
FreeBirdLjj has quit [Remote host closed the connection]
sonologico has joined #ocaml
ggole has quit [Quit: Leaving]
jack5638 has quit [Ping timeout: 246 seconds]
jack5638 has joined #ocaml
carlosdagos has quit [Read error: Connection reset by peer]
carlosdagos has joined #ocaml
sonologico has quit [Remote host closed the connection]
sonologico has joined #ocaml
_whitelogger has joined #ocaml
tane has quit [Quit: Leaving]
AnAverageHuman has joined #ocaml
sonologico has quit [Ping timeout: 246 seconds]
sonologico has joined #ocaml
Guest21496 has joined #ocaml
Birdface has quit [Ping timeout: 250 seconds]
mal`` has quit [Quit: Leaving]
Guest21496 has quit [Remote host closed the connection]
Haudegen has joined #ocaml
mal`` has joined #ocaml
pierpal has quit [Ping timeout: 255 seconds]
sagax has quit [Ping timeout: 246 seconds]
ale64bit has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
kvda has joined #ocaml
zmt00 has joined #ocaml
sonologico has quit [Ping timeout: 245 seconds]
zmt01 has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonologico has joined #ocaml