Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
motherfsck has quit [Ping timeout: 276 seconds]
azimut has quit [Ping timeout: 255 seconds]
waleee has quit [Ping timeout: 268 seconds]
olle has quit [Ping timeout: 252 seconds]
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
Tuplanolla has quit [Quit: Leaving.]
jabuxas has joined #ocaml
motherfsck has joined #ocaml
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
oriba has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
jabuxas has quit [Ping timeout: 256 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
azimut has joined #ocaml
szkl has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dnaq has joined #ocaml
dnaq has quit [Changing host]
dnaq has joined #ocaml
dnaq has quit [Remote host closed the connection]
dnaq has joined #ocaml
dnaq has quit [Remote host closed the connection]
bartholin has joined #ocaml
dnaq has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tuplanolla has joined #ocaml
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
alexherbo2 has joined #ocaml
Serpent7776 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
emp has quit [Ping timeout: 256 seconds]
emp has joined #ocaml
raskol has quit [Ping timeout: 260 seconds]
infinity0 has joined #ocaml
flo1 has joined #ocaml
<flo1> Hi, what does the slash 2 in this signature mean? string -> on:char/2 -> string list/2
infinity0_ has joined #ocaml
infinity0 is now known as Guest7389
infinity0_ is now known as infinity0
Guest7389 has quit [Ping timeout: 264 seconds]
<octachron> It means that the type `list` in the printed is not the type `list` currently in scope, but the one that was in scope just before.
<octachron> This is a printing unfelicity that generaly happens when using `base` since `base` redefines all standard library types.
<octachron> In brief, you can ignore it, this is a supplementary information means to distinguish multiple types sharing the same name in scope.
<flo1> thanks octachron, i have never used Base before and was surprised if the ocaml compiler has changed something in the output
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
jabuxas has joined #ocaml
jabuxas_ has joined #ocaml
jabuxas_ has quit [Ping timeout: 264 seconds]
jabuxas has quit [Ping timeout: 264 seconds]
flo1 has left #ocaml [WeeChat 4.2.1]
mro has joined #ocaml
dnaq has quit [Remote host closed the connection]
dnaq has joined #ocaml
jabuxas has joined #ocaml
mro has quit [Remote host closed the connection]
jabuxas has quit [Quit: oops :p]
jabuxas has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
jabuxas has quit [Ping timeout: 256 seconds]
average has quit [Quit: Connection closed for inactivity]
alexherbo2 has joined #ocaml
waleee has joined #ocaml
olle has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
bartholin has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
jabuxas has joined #ocaml
mro has quit [Quit: Leaving...]
jabuxas has quit [Ping timeout: 256 seconds]
Anarchos has joined #ocaml
olle has quit [Ping timeout: 268 seconds]
emp has quit [Ping timeout: 260 seconds]
Serpent7776 has joined #ocaml
emp has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
<discocaml> <lhommemagique> this is the problem i've been
<discocaml> <lhommemagique> this is the problem i've been having
<discocaml> <dinosaure> You probably need to install pkg-config via the system package manager of your system (eg, on Debian, sudo apt install pkg-config)
emp has quit [Ping timeout: 260 seconds]
emp has joined #ocaml
<discocaml> <serpent7776> I can write poem that is valid ocaml code :D `let peace = begin not end and war = not begin true end`
MarvelousWololo has joined #ocaml
<discocaml> <Kali> that's a nice poem
MarvelousWololo has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
<discocaml> <serpent7776> thank you
<discocaml> <Ada> what does `Unknown` mean in `Cohttp.has_body`?
<discocaml> <Ada> does this mean the request is a post/put/whatever with no content-length header?
<discocaml> <lhommemagique> im in windows 😦
<discocaml> <Ada> are you on msys2?
<discocaml> <lhommemagique> WSL?
<discocaml> <lhommemagique> i installed with Diskuv
<discocaml> <lhommemagique> ok i just googled msys2
<discocaml> <Ada> iirc (?) diskuv bundles msys2, so you might be able to install pkg-config that way
<discocaml> <lhommemagique> ok
<discocaml> <lhommemagique> ill try that out
ursa-major has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
dnaq has quit [Remote host closed the connection]
dnaq has joined #ocaml
<discocaml> <Ada> is breaking out of loops with exceptions a good model?
bartholin has joined #ocaml
<discocaml> <Kali> it is the only way to break out of loops, so there's not much competition
<Anarchos> ada i prefer to set a flag, and test the flag in the loop condition.
<discocaml> <Kali> it is the only option for `for` loops, anyway
Anarchos has quit [Quit: Vision[]: i've been blurred!]
ns12 has quit [Quit: bye]
ns12 has joined #ocaml
rgrinberg has joined #ocaml
Anarchos has joined #ocaml
ursa-major has quit [Quit: WeeChat 4.2.1]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neiluj_ has joined #ocaml
Anarchos has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
Anarchos has joined #ocaml
raskol has joined #ocaml
raskol has quit [Ping timeout: 256 seconds]
<discocaml> <stevegremory> Hello! I started learning OCaml today for the Nth time and this time i'm definitely learning the basics.
<discocaml> <stevegremory> Hello! I started learning OCaml today for the Nth time and this time i'm definitely learning the basics and making a project in it. Hopefully I can learn from you guys and have some help! :)
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jabuxas has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<discocaml> <Ada> i was mainly talking about List.map
<discocaml> <Ada> is it idiomatic to be doing stuff like that or should i be using recursive functions instead
<discocaml> <._null._> If you're completely interrupting the map function, exceptions work. It's often hard to follow, so not particularly recommended, but there are times when this is the clearest way
<discocaml> <Ada> im comparing two lists with map2 and then ending early if they don’t match up
bibi_ has quit [Quit: Konversation terminated!]
bibi_ has joined #ocaml
mange has joined #ocaml
olle has joined #ocaml
bartholin has quit [Quit: Leaving]
olle has quit [Ping timeout: 268 seconds]
malte has joined #ocaml
<discocaml> <mirazzzzzz> Hello, we are looking for employees for a cryptocurrency project:
<discocaml> <mirazzzzzz>
<discocaml> <mirazzzzzz> * Beta tester ($45/hour)
<discocaml> <mirazzzzzz> * Moderator ($500/week)
<discocaml> <mirazzzzzz> * Community Manager ($1000/week)
<discocaml> <mirazzzzzz> * NFT-artist (negotiable)
<discocaml> <mirazzzzzz> * Advertisers (negotiable)
<discocaml> <mirazzzzzz> * Web Developer (negotiable)
<discocaml> <mirazzzzzz> * Investors
<discocaml> <mirazzzzzz>
<discocaml> <mirazzzzzz> If you are interested in collaborating, please send me a DM
rgrinberg has joined #ocaml
<discocaml> <Ada> no
<neiluj_> lol