companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
rgrinberg has joined #ocaml
epony has quit [Max SendQ exceeded]
Nahra has quit [Remote host closed the connection]
vicfred has quit [Quit: Leaving]
<sleepydog> speaking for myself, I don't mind the short snippets
williewillus1 is now known as williewillus
epony has joined #ocaml
<d_bot> <rgrinberg> @octachron are both codes and names guaranteed to be printed for warnings for all versions of ocamlc? E.g in `Warning 26 [unused-var]:`, 26 is the code and unused-var would be the name.
wyrd has quit [Quit: Lost terminal]
jackhill is now known as jackhill[m]
jackhill[m] is now known as jackhill
mbuf has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
bobo has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
quernd6 has joined #ocaml
quernd has quit [Ping timeout: 260 seconds]
quernd6 is now known as quernd
wyrd has joined #ocaml
wyrd has quit [Remote host closed the connection]
wyrd has joined #ocaml
gravicappa has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zebrag has quit [Quit: Konversation terminated!]
gahr has quit [Quit: leaving]
gahr has joined #ocaml
emp has quit [Ping timeout: 256 seconds]
emp has joined #ocaml
olle has joined #ocaml
olle has quit [Ping timeout: 246 seconds]
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
leah2 has quit [Ping timeout: 272 seconds]
hannes has quit [Ping timeout: 272 seconds]
Exa has quit [Quit: see ya!]
Exa has joined #ocaml
mg- has quit [Ping timeout: 240 seconds]
mg- has joined #ocaml
lis has joined #ocaml
gahr_ has joined #ocaml
thizanne has quit [Remote host closed the connection]
noze has quit [Ping timeout: 250 seconds]
lisq has quit [Ping timeout: 240 seconds]
thizanne has joined #ocaml
hannes has joined #ocaml
gahr has quit [Read error: Connection reset by peer]
gahr_ is now known as gahr
leah2 has joined #ocaml
bronsen has quit [Ping timeout: 268 seconds]
<d_bot> <octachron> @rgrinberg : warning names are guaranteed to be printed for all versions of ocamlc ≥ 4.12.0 .
asm has quit [Ping timeout: 250 seconds]
epony has quit [Quit: QUIT]
olle has joined #ocaml
jlrnick has joined #ocaml
bartholin has joined #ocaml
bartholin has quit [Client Quit]
asm has joined #ocaml
Haudegen has joined #ocaml
jlrnick has quit [Ping timeout: 250 seconds]
hornhack has joined #ocaml
hornhack has quit [Client Quit]
jlrnick has joined #ocaml
kaph has quit [Ping timeout: 268 seconds]
jlrnick has quit [Ping timeout: 272 seconds]
olle has quit [Remote host closed the connection]
olle has joined #ocaml
bronsen has joined #ocaml
dextaa_54 has joined #ocaml
kaph has joined #ocaml
olle has quit [Remote host closed the connection]
zebrag has joined #ocaml
neilthereildeil has joined #ocaml
<neilthereildeil> hey guys
<d_bot> <Ambika E.> Hi
waleee has joined #ocaml
<neilthereildeil> what does this code do? else min (max 0. (!next_frequent_ops -. start_time)) period_ops_interval in
<neilthereildeil> my thinking: find the min(max(0, next_frequent_ops -. start_time), period_ops_interval)
<neilthereildeil> am i right?
<d_bot> <orbitz> neilthereildeil: what about that expression is making you not feel sure in your ability to interpret it?
<neilthereildeil> its written in ocaml :)
<companion_cube> the only possible surprise inside that I can see is `!`
<companion_cube> `! foo` is just accessing the content of the reference `foo`
<neilthereildeil> thats using a refeerence to a variable, right?
<companion_cube> the rest is normal
<neilthereildeil> ya
<d_bot> <leviroth> I wouldn’t say it’s “a reference to a variable”
rgrinberg has joined #ocaml
olle has joined #ocaml
olle has quit [Client Quit]
olle has joined #ocaml
spip has joined #ocaml
bobo has quit [Ping timeout: 260 seconds]
neilthereildeil has quit [Quit: Client closed]
neilthereildeil has joined #ocaml
<neilthereildeil> whats the right way to assuign -1 rather than 15 here?
<neilthereildeil> let period_ops_interval = 15. in
<companion_cube> = (-1.)
<d_bot> <NULL> You don't even need these parentheses
<olle> Is there an ERGONOMIC and type-safe eDSL for SQL in OCaml...?
<olle> Found one, but it looks so weird
<d_bot> <Ambika E.> It's much like dereferencing a pointer
<reynir> olle: what did you find?
<olle> ` |> where (field User.name There = field Book.author (Skip (Skip There)))`
<olle> skip skip wat?
neilthereildeil has quit [Quit: Client closed]
<d_bot> <cemerick> @Drup I'm mulling making yet another tyxml ppx that operates over a single string, using something like `{{}}` for antiquotations...tell me why I shouldn't 😈
waleee has quit [Ping timeout: 250 seconds]
<d_bot> <cemerick> could even probably convince e.g. vscode to highlight and format the HTML and nested code snippets properly
<reynir> that's wild
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
lis is now known as lisq
waleee has joined #ocaml
mbuf has quit [Quit: Leaving]
rgrinberg has joined #ocaml
QDX45_ has joined #ocaml
QDX45_ has quit [Client Quit]
jlrnick has joined #ocaml
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
epony has joined #ocaml
bartholin has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
jlrnick has quit [Ping timeout: 260 seconds]
szkl has joined #ocaml
wyrd has quit [Ping timeout: 240 seconds]
Serpent7776 has quit [Quit: leaving]
wyrd has joined #ocaml
bartholin has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
olle has quit [Ping timeout: 248 seconds]
SrainUser has joined #ocaml
SrainUser is now known as terence
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]