companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
f[x] has joined #ocaml
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
f[x] has quit [Remote host closed the connection]
nore has joined #ocaml
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
torretto has quit [Ping timeout: 260 seconds]
torretto has joined #ocaml
bartholin has quit [Quit: Leaving]
Anarchos has joined #ocaml
ohperitel has quit [Quit: ZNC 1.9.0 - https://znc.in]
ohperitel has joined #ocaml
bacam has quit [Ping timeout: 245 seconds]
bacam has joined #ocaml
szkl has joined #ocaml
cedb has quit [Quit: WeeChat 4.3.1]
f[x] has joined #ocaml
<discocaml> <axelfan_92090> hi
pi3ce has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
<discocaml> <faldor20> I think it's a weak example. I cannot personally think of a single time that the provided performance example occurred in my own code. I do however, have super weird currying related error messages appear constantly. Which I'm very used to ignoring and recognising their true meaning.
<discocaml> <faldor20> I think the underscore system used by some other languages is significantly better
<discocaml> <gooby_clown> When I said SML-like I meant passing everything as tuples
<discocaml> <gooby_clown> Syntactically anyways
<discocaml> <gooby_clown> So I see it as a plus
<companion_cube> as it stands, not using tuples will be faster in OCaml
<discocaml> <gooby_clown> Hm that's also fair, I also haven't ever used this partial computation approach but maybe there are some people who do 🤔
<discocaml> <gooby_clown> companion_cube: I assumed SML just unpacks the tuples as well but I might be wrong
<discocaml> <faldor20> Stuff 'em I'd say, it's a niceish feature that's just super awkward and painful for beginners
<discocaml> <faldor20> But if you wanted to fix the Ocaml syntax I'd start some other places (whoever thought solving nested pattern matching ambiguity by wrapping them in parentheses was a good idea, they have a lot to answer for!
<discocaml> <faldor20> Some French software Dev from the 90s deserves to have his frog legs and baguettes taken away forever!!
<discocaml> <gooby_clown> It simplifies the parser if nothing else
<discocaml> <gooby_clown> I know it mostly has no benefit for the user, but I appreciate simple parsers
<discocaml> <gooby_clown> Or rather simple grammars
Exagone313 has joined #ocaml
lobo_ has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
bibi_ has quit [*.net *.split]
emp has quit [*.net *.split]
dylanj has quit [*.net *.split]
lobo has quit [*.net *.split]
deavmi has quit [*.net *.split]
pippijn has quit [*.net *.split]
Exa has quit [*.net *.split]
Fardale has quit [*.net *.split]
JSharp has quit [*.net *.split]
Exagone313 is now known as Exa
myrkraverk_ has quit [Read error: Connection reset by peer]
myrkraverk__ has joined #ocaml
bibi_ has joined #ocaml
dylanj has joined #ocaml
emp has joined #ocaml
JSharp has joined #ocaml
pippijn has joined #ocaml
deavmi has joined #ocaml
Fardale has joined #ocaml
<discocaml> <ada2k> at least there’s begin and end, but i rarely ever use them and prefer parens
pi3ce_ has joined #ocaml
pi3ce has quit [Read error: Connection reset by peer]
<discocaml> <deepspacejohn> What would be the best alternative to (...)/begin...end?
<companion_cube> having `end` on match
<discocaml> <ada2k> match is the only place where i really get caught up on nesting
bartholin has joined #ocaml
lightred-sea has joined #ocaml
lightred-sea has quit [Quit: Leaving]
Anarchos has joined #ocaml
lobo_ is now known as lobo
Serpent7776 has joined #ocaml
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 265 seconds]
<discocaml> <darrenldl> +1
<discocaml> <darrenldl> i like currying otoh
Anarchos has quit [Quit: Vision[]: i've been blurred!]