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/
Sankalp- has joined #ocaml
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp- is now known as Sankalp
Soni has quit [Ping timeout: 240 seconds]
qwr has joined #ocaml
adanwan has quit [Remote host closed the connection]
laurus has joined #ocaml
adanwan has joined #ocaml
azimut has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 268 seconds]
<laurus> Hello.
Soni has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 272 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
laurus has left #ocaml [Leaving]
rgrinberg has joined #ocaml
John_Ivan has quit [Ping timeout: 260 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
jao has quit [Remote host closed the connection]
williewillus has quit [Quit: Leaving]
williewillus has joined #ocaml
adanwan_ has joined #ocaml
adanwan has quit [Ping timeout: 268 seconds]
williewillus has quit [Ping timeout: 240 seconds]
chrisz has quit [Ping timeout: 264 seconds]
szkl has joined #ocaml
chrisz has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp has joined #ocaml
waleee has quit [Ping timeout: 268 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trev has joined #ocaml
adanwan_ has quit [Ping timeout: 268 seconds]
azimut has quit [Ping timeout: 268 seconds]
adanwan has joined #ocaml
azimut has joined #ocaml
ente` has quit [*.net *.split]
asm has quit [*.net *.split]
Leonidas has quit [*.net *.split]
ralu1 has quit [*.net *.split]
ente` has joined #ocaml
Leonidas has joined #ocaml
ralu1 has joined #ocaml
asm has joined #ocaml
SquidDev has quit [*.net *.split]
johnel has quit [*.net *.split]
Putonlalla has quit [*.net *.split]
Armael has quit [*.net *.split]
adrien has quit [*.net *.split]
ccx has quit [*.net *.split]
gahr has quit [*.net *.split]
hannes has quit [*.net *.split]
pippijn has quit [*.net *.split]
energizer has quit [*.net *.split]
micro has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
thizanne has quit [*.net *.split]
oisota has quit [*.net *.split]
haesbaert has quit [*.net *.split]
micro has joined #ocaml
johnel has joined #ocaml
adrien has joined #ocaml
haesbaert has joined #ocaml
hannes has joined #ocaml
dmbaturin has joined #ocaml
pippijn has joined #ocaml
thizanne has joined #ocaml
SquidDev has joined #ocaml
oisota has joined #ocaml
Putonlalla has joined #ocaml
Armael has joined #ocaml
ccx has joined #ocaml
energizer has joined #ocaml
adanwan has quit [Quit: _]
gahr has joined #ocaml
adanwan has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
williewillus has joined #ocaml
mbuf has joined #ocaml
<d_bot> <Bozhidar> @Bluddy You might want to remove this part from the welcome rules - `* Preview of the new OCaml website: https://v3.ocaml.org/`. Seems to me this is already the default site.
Serpent7776 has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
williewillus has quit [Quit: Leaving]
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Haudegen has joined #ocaml
Sankalp has joined #ocaml
olle has joined #ocaml
xgqt has quit [Ping timeout: 240 seconds]
xgqt has joined #ocaml
orbifx has joined #ocaml
perrierjouet has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
gahr has quit [Quit: leaving]
perrierjouet has joined #ocaml
adanwan has quit [Ping timeout: 268 seconds]
adanwan has joined #ocaml
gahr has joined #ocaml
salkin has joined #ocaml
bartholin has joined #ocaml
<orbifx> o/
asm has quit [Changing host]
asm has joined #ocaml
adanwan has quit [Remote host closed the connection]
azimut has joined #ocaml
emacs_pprentice_ has quit [Quit: Leaving]
salkin has quit [Quit: salkin]
adanwan has joined #ocaml
salkin has joined #ocaml
omegatron has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
bobo_ has quit [Ping timeout: 244 seconds]
bobo_ has joined #ocaml
<d_bot> <froyo> heya orbifx o/
<d_bot> <froyo> how's everything
Serpent7776 has quit [Ping timeout: 268 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
<d_bot> <VPhantom> There's that `o/` again. Does it mean anything specific or is it a typo?
<d_bot> <NULL> :person_raising_left_arm:
<d_bot> <VPhantom> Self-answered: <https://www.urbandictionary.com/define.php?term=o%2F> I'll be danred
<d_bot> <VPhantom> Wow, yeah, I had no clue. And I got online in the nineties, you'd think I'd know that one. 😛
<d_bot> <NULL> Took me surprising long as well the first dozen times I encountered it
<d_bot> <VPhantom> I thought it was a glitch because last week I saw it many lines in a row from the same user, so I thought it was a stuck keyboard or something odd like that.
John_Ivan has joined #ocaml
<orbifx> froyo: all is good, how's everything there?
waleee has joined #ocaml
<d_bot> <froyo> fine and well, good to see you here. im certainly missing your lists and xmpp rooms.. what ever will become of those?
<d_bot> <Valentin> Hi, I wanted to post an issue on https://github.com/bettistein/ocaml-sf-website about a broken link, but, I cannot create one as it is a fork. Who should I contact to report my issue?
<d_bot> <Valentin> I suspect that the original repo is not maintained as the job was finished and posting an issue there would be useless
Serpent7776 has joined #ocaml
<orbifx> froyo: always surprised to stumble on people that were on them and appreciated them. I'll pm you
<orbifx> froyo, actually I don't know whow to pm someone via the d_bot, maybe you can initiate it? (since it's offtopic here)
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
<Fardale> orbifx: I don't think there is a way to pm through the bridge
dextaa has joined #ocaml
salkin has quit [Quit: salkin]
<orbifx> :/
Serpent7776 has quit [Quit: WeeChat 1.9.1]
dextaa has quit [Read error: Connection reset by peer]
salkin has joined #ocaml
dextaa has joined #ocaml
rgrinberg has joined #ocaml
<orbifx> froyo, got a website?
motherfsck has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
orbifx has quit [Ping timeout: 252 seconds]
motherfsck has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonologico has joined #ocaml
rgrinberg has joined #ocaml
<d_bot> <mbacarella> i notice ocaml has a risc-v backend? what CPUs are people running it on?
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
trev has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
salkin has quit [Quit: salkin]
<greenbagels> I know there are embedded risc-v processors in use, can't imagine people are testing on those though
<d_bot> <Residue Theorem> How can I make an optional module in my library (which depends on js_of_ocaml whereas the remaining library doesn't)?
rgrinberg has joined #ocaml
sonologico has quit [Ping timeout: 245 seconds]
eax_ has quit [Remote host closed the connection]
philipwhite has quit [Remote host closed the connection]
pluviaq has quit [Remote host closed the connection]
sleepydog has quit [Remote host closed the connection]
sm2n has quit [Remote host closed the connection]
seeg has quit [Remote host closed the connection]
b0o has quit [Remote host closed the connection]
immutable has quit [Write error: Connection reset by peer]
jakzale has quit [Write error: Connection reset by peer]
ggb has quit [Remote host closed the connection]
sonologico has joined #ocaml
philipwhite has joined #ocaml
ggb has joined #ocaml
jakzale has joined #ocaml
sm2n has joined #ocaml
b0o has joined #ocaml
pluviaq has joined #ocaml
seeg has joined #ocaml
sleepydog has joined #ocaml
immutable has joined #ocaml
philipwhite has quit [Remote host closed the connection]
seeg has quit [Remote host closed the connection]
sm2n has quit [Remote host closed the connection]
pluviaq has quit [Remote host closed the connection]
ggb has quit [Remote host closed the connection]
b0o has quit [Remote host closed the connection]
sleepydog has quit [Remote host closed the connection]
jakzale has quit [Remote host closed the connection]
immutable has quit [Remote host closed the connection]
<d_bot> <darrenldl> i think people generally move it into a separate lib/package(?)
<d_bot> <darrenldl> or at least that seemed to be the straightforward path to me
philipwhite has joined #ocaml
ggb has joined #ocaml
jakzale has joined #ocaml
pluviaq has joined #ocaml
b0o has joined #ocaml
sm2n has joined #ocaml
seeg has joined #ocaml
immutable has joined #ocaml
eax_ has joined #ocaml
sleepydog has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbifx has joined #ocaml
adanwan has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
adanwan has joined #ocaml
sonologico has quit [Ping timeout: 268 seconds]
<d_bot> <undu> A coworker of mine uses an ITX dev board
philipwhite has quit [Remote host closed the connection]
b0o has quit [Write error: Connection reset by peer]
sm2n has quit [Write error: Connection reset by peer]
jakzale has quit [Write error: Connection reset by peer]
seeg has quit [Remote host closed the connection]
ggb has quit [Write error: Broken pipe]
pluviaq has quit [Remote host closed the connection]
sleepydog has quit [Remote host closed the connection]
eax_ has quit [Remote host closed the connection]
immutable has quit [Remote host closed the connection]
ggb has joined #ocaml
philipwhite has joined #ocaml
sm2n has joined #ocaml
pluviaq has joined #ocaml
b0o has joined #ocaml
seeg has joined #ocaml
jakzale has joined #ocaml
immutable has joined #ocaml
sleepydog has joined #ocaml
eax_ has joined #ocaml
zebrag has joined #ocaml
mbuf has quit [Quit: Leaving]
adanwan has quit [Quit: _]
adanwan has joined #ocaml
jpds has quit [Ping timeout: 268 seconds]
jpds has joined #ocaml
sonologico has joined #ocaml
zebrag has quit [Ping timeout: 252 seconds]
zebrag has joined #ocaml
waleee has joined #ocaml
sonologico has quit [Ping timeout: 268 seconds]
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
motherfsck has quit [Quit: quit]
ente` has quit [Quit: Reconnecting]
ente` has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
sonologico has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
sonologico has quit [Ping timeout: 245 seconds]
olle has quit [Ping timeout: 268 seconds]
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
<John_Ivan> question - in the example at the bottom of this page, https://github.com/anmonteiro/piaf - how is it that the return value can be of type String and Error at the same time?
doesntgolf has joined #ocaml
<John_Ivan> Ok and Error, one is the response body, as a string, and Error is of type Error
<John_Ivan> also, what is "let*" ?
<orbifx> Let is a special variant of let for some kind of container
<John_Ivan> I.. see.
<orbifx> Also Body.to_string might not be a Standard string
<John_Ivan> :|
wingsorc has joined #ocaml
<orbifx> Are you new to lwt?
<John_Ivan> orbifx, I'm new to ocaml in general
<John_Ivan> I know only that lwt is a promise/callback library.
<John_Ivan> I've gathered, or hope, that I gathered the majority of ocaml oriented keywords/operators, but the more I read real world ocaml, the more I encounter things that aren't even i nbooks
<John_Ivan> "let*" is one of them
<orbifx> John_Ivan: hm.. I advise that you don't start lwt, unless you are very familiar with functional languages and applicative programming
<orbifx> John_Ivan: what's it saying in Real World OCaml? got a link?
<John_Ivan> orbifx, I did not mean the Real World OCaml book when I said real world ocaml. apologies for the ambiguity.
<John_Ivan> I just meant ocaml code in the wild.
orbifx2 has joined #ocaml
<orbifx2> John_Ivan: have I missed any message?
orbifx has quit [Ping timeout: 252 seconds]
orbifx2 is now known as orbifx
<orbifx> John_Ivan: lwt has become popular, but it'd be hard for you to start with that, unless you are familiar with applicative. Are you looking something specific to learn?
<John_Ivan> orbifx, nope.
<John_Ivan> orbifx, I'm just trying to learn ocaml.
<orbifx> John_Ivan: maybe write something or try code in utop?
<John_Ivan> I have basic classes, types, functions, operators, flow, pattern matching and the sort covered. I was thinking I'd expand to see real world usages of ocaml, so I decided to just go with trying to use a http request framework
<John_Ivan> I understand the code in the piaf usage example, aside from the two parts I mentioned. otherwise, I guess it looks okay and I might go ahead and look at another library.
<John_Ivan> orbifx, I got the piaf code compiled and I tried to restructure the code to my own style for getting a feel for the library/language.
<John_Ivan> it worked fine
<orbifx> John_Ivan: it'd be good if you can find an HTTP library that doesn't depend on Lwt, though can't remember if one has been made
<orbifx> Because of how Lwt works, it wraps a lot of the code (usually the I/O, but other things too) and the code looks quite different
Tuplanolla has quit [Quit: Leaving.]
doesntgolf has quit [Remote host closed the connection]
<John_Ivan> orbifx, then let's actually get into lwt. I understand what function pointers are and how promises work in js so I should be able to figure it out. you mention applicative code. is that a pattern? and if it is, what's the relationship between the pattern and "returning an object that can be a string or an error type? as well as the "let*" keyword?"
<John_Ivan> mentioned*
<orbifx> Worth reading:https://en.wikipedia.org/wiki/Applicative_programming_language
<orbifx> In Lwt's case it's the second. You have a module (Lwt) which can "lift" functions, (i.e. wrap them) so they can work with Lwt records
<John_Ivan> orbifx, thank you
<orbifx> I made sense? :P
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
<orbifx> What;s happened with OCaml Planet's feed? Got all sorts of new articles from the past in the last update
Haudegen has quit [Ping timeout: 268 seconds]
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away,and yet it always breaks free.]
<d_bot> <struktured> I wrote some code a while ago which used first class modules for the configuration state. Looking at it years later, I can't for the life of me figure out why I decided it was better than using just a simple record.
orbifx has quit [Ping timeout: 252 seconds]