companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
landonf has quit [Excess Flood]
landonf has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 250 seconds]
mfp has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
curtosis[away] has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 250 seconds]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mxns has joined #ocaml
rpcope has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 250 seconds]
rpcope has joined #ocaml
hackinghorn has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
curtosis[away] has joined #ocaml
tryte has quit [Ping timeout: 240 seconds]
emias has quit [Ping timeout: 252 seconds]
notnotdan_ has quit [Ping timeout: 276 seconds]
notnotdan_ has joined #ocaml
emias has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has quit [Ping timeout: 260 seconds]
torei has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
osa1 has joined #ocaml
narimiran has joined #ocaml
mxns has joined #ocaml
curtosis[away] has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
narimiran has quit [Ping timeout: 265 seconds]
narimiran has joined #ocaml
noonien6 has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
noonien has quit [Ping timeout: 252 seconds]
noonien6 is now known as noonien
robmyers has quit [Read error: Connection reset by peer]
robmyers has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
olle has joined #ocaml
shawnw has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
<d_bot> <darrenldl> astronavt: python's arrow (popular alternative it seems?) is slightly better: it has a ambiguous flag, but its behaviour otherwise matches pendulum and crystal's
torei has quit [Read error: Connection reset by peer]
chripell has quit [Quit: ZNC 1.8.2+deb2+build2 - https://znc.in]
ArthurStrong has joined #ocaml
olle has joined #ocaml
mxns has joined #ocaml
diksha has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
ArthurStrong has quit [Quit: leaving]
diksha has quit [Quit: Connection closed]
bartholin has joined #ocaml
Goodiec has joined #ocaml
Goodiec has quit [Ping timeout: 240 seconds]
Haudegen has quit [Quit: Bin weg.]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
mfp has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
hackinghorn has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
troydm has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
osa1 has quit [Quit: osa1]
vicfred has quit [Quit: Leaving]
osa1 has joined #ocaml
mbuf has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
<d_bot> <Sonsonroro17> do any of you guys do stock traiding ?
<olle> We're all invested in Jason Street
mxns has joined #ocaml
mxns has quit [Ping timeout: 265 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
tane has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
Fardale has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
Fardale has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mxns has joined #ocaml
<d_bot> <sarna> hey, can I somehow rename an opam switch?
narimiran has quit [Ping timeout: 252 seconds]
<d_bot> <undu> no, some things are not relocatable
<astronavt> @darrenldl people seem to have mostly soured on arrow in favor pendulum; i don't remember the reasons but i remember that people felt strongly about it
mxns has quit [Ping timeout: 240 seconds]
<astronavt> i think its mostly related to the API though, not necessarily its internal behaviors or data representation
<astronavt> and there are other examples (albeit ones provided by the pendulum devs) of arrow silently failing in certain cases
<astronavt> some are listed in the docs here https://pypi.org/project/pendulum/
mxns has joined #ocaml
shawnw has quit [Ping timeout: 268 seconds]
<astronavt> but of course without deep knowledge of this area, one has to take library devs at their word :)
<astronavt> i haven't filed an issue yet but yes i wouldnt fault any particular library for missing any particular small detail. but iteration towards correctness is always good imo
OPeritel has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
<d_bot> <darrenldl> astronavt: interestingly pandas from python community seems to handle date times correctly
<astronavt> @darrenldl im honestly not surprised, pandas has a huge amount of eyes on it since its one of the core data science libraries
<astronavt> but its good to know
mxns has quit [Ping timeout: 268 seconds]
mxns has joined #ocaml
lindah has joined #ocaml
jshshli has joined #ocaml
<jshshli> hi! what are good open source projects to contribute to for newcomers
jshshli has quit [Ping timeout: 240 seconds]
jshshli has joined #ocaml
jshshli has quit [Quit: Connection closed]
TheLemonMan has joined #ocaml
Tuplanolla has joined #ocaml
jshshli has joined #ocaml
waleee-cl has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
bartholin has quit [Quit: Leaving]
jshshli has quit [Ping timeout: 240 seconds]
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mbuf has quit [Quit: Leaving]
lindah has quit [Quit: Connection closed]
vicfred has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
osa1 has quit [Quit: osa1]
osa1 has joined #ocaml
narimiran has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Haudegen has quit [Quit: Bin weg.]
narimiran has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
mxns has quit [Ping timeout: 250 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
breitenj has quit [Quit: Quit]
breitenj has joined #ocaml
zozozo has quit [Ping timeout: 258 seconds]
mxns has quit [Ping timeout: 250 seconds]
tane has quit [Quit: Leaving]
mxns has joined #ocaml
olle has quit [Ping timeout: 268 seconds]
mercy has joined #ocaml
zozozo has joined #ocaml
curtosis[away] has joined #ocaml
mercy has quit [Quit: Connection closed]
Terence has joined #ocaml
<Terence> hey I'm trying to just annotate a int like so: http://ix.io/2W66 but ocaml says "This expression has type int but an expression was expected of type Bar.param1" any idea how to make it work?
<Terence> it works if I remove the signature but I don't understand why
<dh`> by giving the module an explicit module type you've made the type abstract
<dh`> since the signature you used doesn't specify what the type is.
<dh`> that's more or less what signatures are for
<steenuil> you can make the type concrete by specifying the type as `FOO with t = int`
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<steenuil> as in `module Bar : FOO with t = int = ...`
<dh`> or just not use the signature
<dh`> but since this is obviously a toy example it's hard to know what they're trying to do
<steenuil> does cohttp raise any exceptions? I can't find anything in the docs
<dh`> don't you wish we had checked exceptions...
<steenuil> yeah, I kinda do
<Terence> thank you for your answers! We are given a signature which contains 2 type declaration and then we are told to define one as string and the other one as an int. I wrote the module and all seems well and then I want to use it and that's where I had issue.
<d_bot> <mseri> Very few of its own, mostly io errors. But exceptions raised by other functions propagate
<d_bot> <mseri> Like closed chsnnels, tls errors, ...
<d_bot> <mseri> (This was in reply to steenuil, I had not no5iced you are on irc, sorry)
<steenuil> no worries, thank you
<Terence> I thought while the sig doesn't specify the type it has, because Bar specifies it I can say "I want to use Bar including the types that it instantiated"
<steenuil> I guess I'll just have to have a catch all exceptions then
<Terence> d_bot is bridging irc with what?
<steenuil> discord
<Terence> hence the d got it
mxns has quit [Ping timeout: 240 seconds]
<Terence> so if I declare a type in a sig, create a module that uses the sig and instantiate the type, and make this type a paramater of a function of the module, how do I call the function of the module?
Haudegen has quit [Ping timeout: 240 seconds]
<dh`> if you make the type abstract by sealing the module with a signature that doesn't export it, the only way you can get values of that type is from the module via its interface