companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
waleee has quit [Ping timeout: 240 seconds]
spip has quit [Quit: Konversation terminated!]
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
rf has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
mbuf has joined #ocaml
bgs has joined #ocaml
<adrien> TLS cert for opam.ocaml.org expired it seems
bgs has quit [Remote host closed the connection]
<discocaml> <sim642> Seems fine to me
olle has joined #ocaml
<olle> Hm are there any examples of deep embedding pattern that's not an academic paper? xD
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
<discocaml> <Commutative Conjecture> when creating some utils in OCaml supposed to be integrated to a bigger product project, would you recommend 4.14.1 or 5.0.0?
<discocaml> <Commutative Conjecture> and by any chance, does anyone have a tutorial on incremental _lexing_? Like, lexing where if I interrupt it in the middle of the lexing of a string literal, it doesn't fail?
<discocaml> <Commutative Conjecture> tutorial or example
<discocaml> <sarna> is there any convention about `MyModule.create` and `MyModule.make`? there's `Array.make`, `String.make` and `Bytes.make`, but there's also `Bytes.create`, `Buffer.create`..
<discocaml> <sarna> I guess `.create` tends to be used for creating uninitialized (empty) values?
pkal has left #ocaml [Killed buffer]
<discocaml> <darrenldl> @sarna my conclusion last time on said question was "not really, no, there's not much convention"
<discocaml> <darrenldl>
<discocaml> <darrenldl> JS libs seems to use create a lot, other places seem to use make a fair bit, stdlib mutable data structures like to use create here and there (e.g. Hashtbl), but then also Array.make as you suggested
<discocaml> <darrenldl> i end up asking for convention too often, only to end up witnessing none
<discocaml> <sarna> ah, I see - I'll stick to `make` then, it's shorter and easier to type :)
<discocaml> <darrenldl> yeah i just use make in all my libs
<discocaml> <sarna> hah, yeah that's unfortunate. I like conventions, they make me waste less time on silly things..
<discocaml> <darrenldl> you tell me. i spent a day some time ago on whether it should be "time zone" and `Time_zone` or "timezone" and `Timezone`
<discocaml> <darrenldl> and similar things with hyphen (today was on multicore vs multi-core)
bartholin has quit [Quit: Leaving]
wingsorc has quit [Ping timeout: 240 seconds]
Serpent7776 has quit [Read error: Connection reset by peer]
spip has joined #ocaml
Serpent7776 has joined #ocaml
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
<companion_cube> Isn't it make if you provide a filler element, create otherwise?
Haudegen has joined #ocaml
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
szkl has joined #ocaml
azimut has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
alexherbo2 has joined #ocaml
mro has quit [Quit: Leaving]
alexherbo2 has quit [Remote host closed the connection]
<discocaml> <darrenldl> oh yeah maybe actually
<discocaml> <darrenldl> ive given up though
waleee has quit [Ping timeout: 250 seconds]
szkl has quit [Quit: Connection closed for inactivity]
<discocaml> <smondet> @Commutative Conjecture I recently had to downgrade a little project from 5.0.0 to 4.14.1 when I realized I needed it to build on Windows 😉 So that's a data-point.
_whitelogger has joined #ocaml
czy has quit [Remote host closed the connection]
slothby has quit [Quit: brb ... maybe]
Haudegen has quit [Quit: Bin weg.]
dhil has joined #ocaml
Ekho has quit [Quit: CORE ERROR, SYSTEM HALTED.]
Serpent7776 has quit [Quit: WeeChat 1.9.1]
czy has joined #ocaml
Haudegen has joined #ocaml
bgs has joined #ocaml
mbuf has quit [Quit: Leaving]
Ekho has joined #ocaml
bartholin has joined #ocaml
alexherbo2 has joined #ocaml
John_Ivan has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml> <Commutative Conjecture> thx
waleee has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
wingsorc has joined #ocaml
rf has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
bgs has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
dhil has quit [Ping timeout: 240 seconds]
olle has quit [Ping timeout: 264 seconds]
wingsorc has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
wingsorc has joined #ocaml
czy has quit [Remote host closed the connection]
rf has quit [Ping timeout: 248 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
Tuplanolla has quit [Quit: Leaving.]