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
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
curtosis[away] has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
<d_bot> <Tilda> Hello I'm an outreachy applicant and I would like to contribute to Ocaml. I've installed opam and cloned the Ocaml codebase but when I try to build with `make` it returns this:
<d_bot> <Tilda> ```/Library/Developer/CommandLineTools/usr/bin/make staging SET_STAGING='-set staging'
<d_bot> <Tilda> cd script && \
<d_bot> <Tilda> ocamlfind ocamlopt -annot -g -safe-string -package cohttp-lwt-unix,netstring,syndic \
<d_bot> <Tilda> -thread -linkpkg utils.cmx http.ml rss2html.ml -o ../"script/rss2html"
<d_bot> <Tilda> File "http.ml", line 38, characters 4-22:
<d_bot> <Tilda> 38 | | `Resume_incomplete (* actually 308 Permanent Redirect *)
<d_bot> <Tilda> ^^^^^^^^^^^^^^^^^^
<d_bot> <Tilda> Error: This pattern matches values of type [? `Resume_incomplete ]
<d_bot> <Tilda> but a pattern was expected which matches values of type
<d_bot> <Tilda> Cohttp__.Code.status_code
<d_bot> <Tilda> The second variant type does not allow tag(s) `Resume_incomplete
<d_bot> <Tilda> make[1]: *** [script/rss2html] Error 2
<d_bot> <Tilda> make: *** [local] Error 2```
mxns has quit [Ping timeout: 246 seconds]
blah has quit [Quit: Connection closed]
rock64 has quit [Ping timeout: 240 seconds]
rock64 has joined #ocaml
CarolVilarino has quit [Quit: Connection closed]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
blah has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
priyanka has joined #ocaml
priyanka has quit [Client Quit]
mfp has quit [Ping timeout: 240 seconds]
blah has quit [Quit: Ping timeout (120 seconds)]
blah has joined #ocaml
<blah> Please has anyone received a reply from her mentor through email?
mxns has joined #ocaml
blah has quit [Quit: Ping timeout (120 seconds)]
zebrag has quit [Quit: Konversation terminated!]
blah has joined #ocaml
vicfred_ has joined #ocaml
vicfred has quit [Remote host closed the connection]
mxns has quit [Ping timeout: 246 seconds]
Jyoti_Balodhi has joined #ocaml
<d_bot> <Shon F> Hello, and most warm welcome, to all outreachy participants 🙂 👋
<d_bot> <Shon F> I’m not part of the outreachy program at all, but happy to see you here 🙂
<d_bot> <Shon F> @Tilda if you’ve been following the setup guide in the contributing doc (https://github.com/ocaml/ocaml.org/blob/master/CONTRIBUTING.md#setting-up-ocaml) but some steps are failing, then you may wish to post your question to https://github.com/ocaml/ocaml.org/issues/1245
mxns has joined #ocaml
priyanka has joined #ocaml
vicfred_ has quit [Quit: Leaving]
osa1 has quit [Ping timeout: 240 seconds]
priyanka has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 240 seconds]
borne has joined #ocaml
borne has quit [Ping timeout: 246 seconds]
mro_name has joined #ocaml
borne has joined #ocaml
mro_name has quit [Ping timeout: 245 seconds]
blah has quit [Quit: Connection closed]
Prerna_Singh has joined #ocaml
<Prerna_Singh> Hi EVeryone!
<Prerna_Singh> My name is Prerna Singh. I am from India. I am an outreachy applicant. Have I stumbled upon the right channel for OCaml?
Test has joined #ocaml
Test is now known as Guest53079
aditi2412 has joined #ocaml
<Jyoti_Balodhi> Hello, Jyoti Balodhi this side. I am an Outreachy applicant and would love to work on the OCaml projects. I have taken up a few issues and  hope to learn a lot from this experience.
Prerna_Singh has quit [Ping timeout: 240 seconds]
aditi241249 has joined #ocaml
aditi2412 has quit [Ping timeout: 240 seconds]
yashi_vijay has joined #ocaml
narimiran has joined #ocaml
<yashi_vijay> hello everyone, I'm Yashi Vijay. a potential outreachy applicant for the 2021 summer. I'm well versed with the knowledge of HTML, CSS, and JavaScript along with react,node.js, and databases. I'm looking forward this summer to work with OCaml. learn new skills along the way and have a great community bonding. I'm particularly interested in the
<yashi_vijay> project-
<yashi_vijay> Improve the ocaml.org website.
<yashi_vijay> I'm already done with setting up the project locally and all set to make contributions . hoping to learn and work together this summer :)
Guest53079 has quit [Quit: Connection closed]
Chitvan has joined #ocaml
mbuf has joined #ocaml
<Chitvan> Hello, Chitvan Ramani this side. I am an Outreachy applicant and would love to work on the OCaml projects. I have taken up a issue and hope to learn a lot from this experience. I'm well versed with the knowledge of HTML, CSS, and JavaScript along with react,node.js. But can someone help me to set up the repo in my local machine.
mro_name has joined #ocaml
Anushka has joined #ocaml
Chitvan has quit [Quit: Connection closed]
decentpenguin has quit [Ping timeout: 268 seconds]
yashi_vijay has quit [Quit: Ping timeout (120 seconds)]
Jyoti_Balodhi has quit [Quit: Connection closed]
Prerna_Singh has joined #ocaml
Prerna_Singh has quit [Client Quit]
Chitvan has joined #ocaml
Chitvan has quit [Client Quit]
Chitvan has joined #ocaml
mro_name has quit [Remote host closed the connection]
sayani has joined #ocaml
sayani has left #ocaml [#ocaml]
sayani has joined #ocaml
Jyoti_Balodhi has joined #ocaml
Anushka has quit [Ping timeout: 240 seconds]
borne has quit [Ping timeout: 276 seconds]
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
sayani has quit [Quit: Connection closed]
mro_name has joined #ocaml
Jyoti_Balodhi has quit [Ping timeout: 240 seconds]
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
Chitvan has quit [Quit: Connection closed]
shawnw has joined #ocaml
OPeritel_ has joined #ocaml
mbuf has quit [Remote host closed the connection]
OPeritel has quit [Quit: ZNC 1.8.2 - https://znc.in]
mbuf has joined #ocaml
borne has joined #ocaml
<SomyaSrivastava> Hi @patricoferris and @avsm
<SomyaSrivastava> I am Somya Srivastava from India and my initial application for Outreachy has been approved.
<SomyaSrivastava> I have been wanting to contribute to OCaml and I'm pretty excited to learn stuff and add this experience to my profile.
<SomyaSrivastava> I have gone through the issues marked with the label good-first-issues but unfortunately, they seem to be claimed by other applicants. I am constantly looking for any update on the list.
<SomyaSrivastava> Please help me out if I get stuck somewhere.
<SomyaSrivastava> Looking forward to a great journey ahead.
yashi_vijay has joined #ocaml
yashi_vijay has quit [Quit: Ping timeout (120 seconds)]
<d_bot> <patricoferris> Hello to all the Outreachy applicants, I am part of the team running the OCaml program. The level of enthusiasm here is simply awesome, but perhaps this is not the best place to be asking questions. As @Shon F quite rightly put (thank you), asking questions about the setup not working is best placed on the ocaml.org repo. This can help other people with the same issue solve their problem whereas asking on Discord means it
<d_bot> <patricoferris>
<d_bot> <patricoferris> This Discord server is a part of the community so feel free to engage with the community beyond Outreachy project, everyone here is very supportive and would love nothing more than to see the OCaml community grow with excited, new people.
<d_bot> <patricoferris>
<d_bot> <patricoferris> > Please has anyone received a reply from her mentor through email?
<d_bot> <patricoferris>
<d_bot> <patricoferris> I've already had quite a few emails and will get around to yours today. Please bear in mind when you look at all the people on here, all of the comments on the repository in the issues, that it takes me a little time to get around to everything. Apologies if it seems slow.
<d_bot> <patricoferris>
<d_bot> <patricoferris> @Tilda that is a know bug which has a PR to fix it. It was posted on discuss and initially the conversations were on an issue https://discuss.ocaml.org/t/error-while-setting-up-ocaml-project-using-wsl/7466/7 I'll get the PR merged today. This is why it might be best to ask ocaml.org specific questions on the repository itself -- others can benefit and it allows me to manage the questions more easily.
<d_bot> <patricoferris>
<d_bot> <patricoferris> Once again, thanks for all the enthusiasm. I'm trying my best and will hopefully get around to helping more of you as soon as possible :))
Ada95 has joined #ocaml
Haudegen has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
Ada95 has quit [Client Quit]
dldisha has joined #ocaml
yashi_vijay has joined #ocaml
Ada31 has joined #ocaml
<Ada31> Hello! My name is Mercy I'm a junior frontend developer from  Nigeria. I have been coding for a two years now and I am proficient in HTML, CSS and JavaScript. I am interested in learning the ocaml programming language thereby i'd love to contribute to the ocaml.org website and I'd to get started right away. Thank you. @gargi
Ada31 has quit [Quit: Connection closed]
troydm has joined #ocaml
SomyaSrivastava has quit [Quit: Connection closed]
manpreet28 has joined #ocaml
Enjolras has joined #ocaml
borne has quit [Ping timeout: 246 seconds]
borne has joined #ocaml
<d_bot> <Drup> @patricoferris do you want a dedicated channel for this ? You coud pin your big message there
<d_bot> <patricoferris> @Drup that would be awesome, I've just only started using Discord so didn't know what was possible.
manpreet28 has quit [Quit: Connection closed]
Enjolras has quit [Remote host closed the connection]
<d_bot> <Drup> cc @octachron ^
<d_bot> <Tilda> How do I run ocaml locally?
Ada31 has joined #ocaml
mosterdt__ has quit [Ping timeout: 260 seconds]
mosterdt__ has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
diksha has joined #ocaml
<d_bot> <octachron> @Bluddy@Drup, I don't have the permission to create channels. cc@Bluddy , would it be possible to have an Outreachy (and/or maybe an ocaml.org) channel?
Ada31 has quit [Client Quit]
<d_bot> <octachron> @Tilda : there are installation instructions by OS on https://ocaml.org/docs/install.html
olle_ has joined #ocaml
<d_bot> <Tilda> I already have everything installed. I just want to run ocaml locally in my browser.
<d_bot> <octachron> Run locally in your browser is kind of an oxymoron? The compiler ocaml is a native executable.
yashi_vijay has quit [Quit: Connection closed]
<olle_> You can compile it JS and then load it via an html page
<olle_> No server needed
<olle_> compile it to* JS
<d_bot> <patricoferris> @Tilda Perhaps there has been some confusion. If this is in relation to the OCaml.org site, it builds itself using OCaml scripts. It is more or less completely static with no OCaml code actually running in the browser.
<d_bot> <patricoferris> As mentioned, you can run OCaml code in the browser by compiling it with https://github.com/ocsigen/js_of_ocaml but the OCaml.org site doesn't use this anywhere
<d_bot> <Tilda> Okay I understand now. Thank you
<olle_> I just want all browsers everywhere to run OCaml natively.
olle_ has quit [Remote host closed the connection]
blah has joined #ocaml
<qwr> you mean run ocaml source code?
blah has quit [Quit: Connection closed]
dldisha has quit [Ping timeout: 240 seconds]
blah has joined #ocaml
<diksha> Hi. Did anyone setup the OCaml.org website locally. I am facing some problems in setting it up.
l1x has joined #ocaml
mfp has joined #ocaml
<d_bot> <mseri> @patricoferris Have another look at the cohttp port pr, now it is green and may solve the current issues. Otherwise add the upper bound to < 3.0 in the opam file
<d_bot> <mseri> @diksha what is the error?
bartholin has joined #ocaml
Chouhartem has joined #ocaml
aditi241249 has quit [Quit: Connection closed]
diksha has quit [Quit: Connection closed]
jbrown has quit [Ping timeout: 246 seconds]
not_lain has joined #ocaml
Ada31 has joined #ocaml
Ada31 has quit [Client Quit]
Ada31 has joined #ocaml
Ada31 has quit [Client Quit]
Enjolras has joined #ocaml
Ada31 has joined #ocaml
Ada31 has quit [Client Quit]
<d_bot> <matthieuD> Hi all
<d_bot> <matthieuD> I have an issue with VScode (and the underlying ocaml-lsp) which doesn't find any module (such as Core_kernel).
<d_bot> <matthieuD> It compiles fine in commandline. I've tried with a new switch (and a new local switch) and I have the same issue.
<d_bot> <matthieuD> Everything was working fine until recently (~3 weeks?) and it seems to be at the same time as the Merlin/Dune update which remove the .merlin file
<d_bot> <matthieuD> It really looks like Merlin can't find any module, and I think it's a bug somewhere in the new not-file-based communication between Merlin and Dune.
jbrown has joined #ocaml
<d_bot> <undu> There my be residual .merlin files in the filesystem from previous builds. If this is the case upgrading to dune 2.8.4 will solve the issue as dune automatically deletes them and avoid merlin/lsp from reading outdated .merlin files which are not refreshed anymore
<hannes> matthieuD: do you use symbolic links (I ran into a similar issue https://github.com/ocaml/merlin/issues/1288) -- the fix was "opam pin add merlin --dev" (i.e. use the development branch, instead of the latest release)
jbrown has quit [Ping timeout: 246 seconds]
jbrown has joined #ocaml
<d_bot> <matthieuD> FWIT, it is fixed by downgrading to dune 2.7.1 and ocaml-lsp 1.2.0
Ada31 has joined #ocaml
Ada31 has quit [Client Quit]
kanyalmanisha has joined #ocaml
<d_bot> <tnkhanh> how to make dune generate .merlin?
dinakajoy has joined #ocaml
<dinakajoy> Hi, I am Odinaka Joy from Nigeria
dinakajoy has quit [Quit: Connection closed]
mro_name has quit [Remote host closed the connection]
<seliopou> @dinosaure where u at?
<seliopou> What's the ocaml-ci issue about?
mro_name has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
kanyalmanisha has quit [Ping timeout: 240 seconds]
mro_name has quit [Ping timeout: 250 seconds]
kanyalmanisha has joined #ocaml
<kanyalmanisha> Hi Everyone, I'm Manisha Kanyal, a computer science & engineering student and an Outreachy 2021 applicant. I'm looking to contribute to the project "Improve the ocaml.org website
<kanyalmanisha> ".
<kanyalmanisha> May I know from where should I get started for a better head start in OSS, please?
kanyalmanisha is now known as manishaKanyal
manishaKanyal has quit [Client Quit]
manishaKanyal has joined #ocaml
<manishaKanyal> Hi Everyone, I'm Manisha Kanyal, a computer science & engineering student and an Outreachy 2021 applicant. I'm looking to contribute to the project "Improve the ocaml.org website".
<manishaKanyal> May I know from where should I get started for a better head start in OSS, please?
mro_name has joined #ocaml
Srinithyee has joined #ocaml
mro_name has quit [Ping timeout: 240 seconds]
<Srinithyee> Hi! I am Srinithyee. I am an Outreachy applicant. I am looking forward to contribute to the project "Add templating to the OCaml documentation generator". I am looking for some good-first-issue. I see that most of it has been assigned. It would be real nice if someone could assign an issue to me. I am comfortable with HTML and CSS, but completely
<Srinithyee> new to OCaml.I would love to learn the language through contributing. Thanks!!
Srinithyee has quit [Client Quit]
Srinithyee has joined #ocaml
Srinithyee87 has joined #ocaml
Srinithyee87 has quit [Client Quit]
Srinithyee has quit [Client Quit]
shwee has joined #ocaml
shwee has quit [Client Quit]
mro_name has joined #ocaml
claubatista has joined #ocaml
gareppa has joined #ocaml
<theblatte> should the topic be updated for 4.12? :)
yashi_vijay has joined #ocaml
gareppa has quit [Quit: Leaving]
claubatista has left #ocaml [#ocaml]
manishaKanyal has quit [Ping timeout: 240 seconds]
shawnw has quit [Ping timeout: 240 seconds]
hannes_ has joined #ocaml
hannes has quit [Ping timeout: 245 seconds]
aditi241249 has joined #ocaml
yashi_vijay has quit [Quit: Connection closed]
Abhir-24 has joined #ocaml
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
hannes_ is now known as hannes
Abhir-24 has quit [Ping timeout: 240 seconds]
blah has quit [Ping timeout: 240 seconds]
narimiran has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
olle has joined #ocaml
mro_name has joined #ocaml
mro_name has quit [Ping timeout: 250 seconds]
Guest58445 has quit [Ping timeout: 246 seconds]
<d_bot> <Bluddy> @patricoferris given the influx of people, maybe we'll make a channel called #outreachy. we can later rename it to ocaml.org. I'm also thinking of putting it high up in the list of channels so it's clearly visible to all the newcomers
andreas31 has quit [Ping timeout: 240 seconds]
avsm[m] has joined #ocaml
mxns has joined #ocaml
<olle> There's an influx?
Sanduni has joined #ocaml
<olle> Hooray!
andreas31 has joined #ocaml
mro_name has joined #ocaml
<Sanduni> Hello!
<avsm[m]> Welcome, Outreachy applicants :) I'm reviewing your PRs now. For those of you who can't find an issue, I encourage you to simply browse ocaml.org and see if you can find something you'd like to improve. We're certainly not restricted to just the issues created on the site.
mro_name has quit [Ping timeout: 276 seconds]
Sanduni has quit [Quit: Connection closed]
TheLemonMan has joined #ocaml
def has joined #ocaml
Sanduni has joined #ocaml
manishaKanyal has joined #ocaml
Sanduni has quit [Quit: Connection closed]
Guest58445 has joined #ocaml
aditi241249 has quit [Ping timeout: 240 seconds]
mro_name has joined #ocaml
Haudegen has joined #ocaml
aditi241249 has joined #ocaml
mro_name has quit [Ping timeout: 252 seconds]
dan64- has joined #ocaml
dan64 has quit [Ping timeout: 248 seconds]
Ada31 has joined #ocaml
Ada31 has quit [Client Quit]
nullcone has joined #ocaml
aditi241249 has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 246 seconds]
mro_name has joined #ocaml
mro_name has quit [Ping timeout: 250 seconds]
zhansaya has joined #ocaml
mxns has joined #ocaml
Sanduni has joined #ocaml
Tuplanolla has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
priyanka has joined #ocaml
priyanka has quit [Client Quit]
mro_name has joined #ocaml
Sanduni has quit [Quit: Connection closed]
mxns has joined #ocaml
kunalprakash1309 has joined #ocaml
kunalprakash1309 has quit [Client Quit]
ankit has joined #ocaml
mxns has quit [Ping timeout: 268 seconds]
prahitha has joined #ocaml
diksha has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
<diksha> I have installed OCaml 64 bit using this link- https://fdopen.github.io/opam-repository-mingw/installation/ Can someone please tell what steps to follow after this to get the OCaml.org website locally.
sms43 has joined #ocaml
<sms43> hello everyone
prahitha has quit [Quit: Connection closed]
prahitha has joined #ocaml
<avsm[m]> diksha: you should be able to try to follow the steps on https://github.com/ocaml/ocaml.org/#ocamlorg-project to build the site
<sms43> is this the channel for outreachy
<d_bot> <Anurag> sms43: there is a new outreachy channel on the ocaml discord server https://discord.gg/nr9U4hDk
manishaKanyal has quit [Ping timeout: 240 seconds]
<sms43> d_bot thanks you for informing
prahitha has quit [Quit: Connection closed]
mro_name has quit [Remote host closed the connection]
sms43 has quit [Quit: Connection closed]
mbuf has quit [Quit: Leaving]
mxns has joined #ocaml
neiluj has joined #ocaml
neiluj has joined #ocaml
sms26 has joined #ocaml
sms26 has left #ocaml [#ocaml]
StarFleet[m] has joined #ocaml
mxns has quit [Ping timeout: 268 seconds]
vicfred has joined #ocaml
mxns has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
yashi_vijay has joined #ocaml
mxns has joined #ocaml
diksha has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 268 seconds]
yashi_vijay has quit [Quit: Connection closed]
bartholin has quit [Quit: Leaving]
mxns has joined #ocaml
zhansaya has quit [Quit: zhansaya]
Haudegen has quit [Quit: Bin weg.]
priyanka has joined #ocaml
priyanka has quit [Quit: Connection closed]
ankit has quit [Quit: Connection closed]
Ada31 has joined #ocaml
priyanka has joined #ocaml
priyanka has quit [Client Quit]
mro_name has joined #ocaml
landonf has quit [Excess Flood]
landonf has joined #ocaml
<d_bot> <diksha(P)> I have installed Ocaml using this-
mro_name has quit [Remote host closed the connection]
def has left #ocaml [#ocaml]
<d_bot> <diksha(P)> This will install opam as well. After this, I have tried to follow the steps listed here but still getting errors
Ada31 has quit [Quit: Connection closed]
oriba has joined #ocaml
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
olle has quit [Ping timeout: 246 seconds]
rock64 has quit [Ping timeout: 240 seconds]
rock64 has joined #ocaml
olle has joined #ocaml
Haudegen has joined #ocaml
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RalfJ has quit [Ping timeout: 246 seconds]
RalfJ has joined #ocaml
gasche has joined #ocaml
<gasche> Hi there
<gasche> (I received an access-to-IRC question from an Outreachy participant so I tested the link.)
<gasche> I must say that the webchat.freenode.net overall design is nicer than in my distant memories
<companion_cube> o/ gasche
<companion_cube> did you know you could access IRC from emacs? 🙃
<gasche> I've used erc in the past, from an ssh bridge to get history.
<gasche> Just looked at recent logs. It looks like (1) there is an interconnect to both Discord and Matrix, which is fairly cool, and (2) plenty of recent discussions from Outreachy applicants, it's nice that some of them are interested in participating.
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<labor[m]> Which Matrix room are you talking about ? There's #ocaml-lang but I don't think it's connected to discord in any way.
<gasche> ah
<gasche> I assumed the [m] showing up on some nicknames where signs of people being active through a Matrix interconnect, but maybe those are just the good old moderators :-p
<labor[m]> No, I'm using matrix to connect to IRC, you're right. But there's also a proper matrix room which is not connected to anything.
gasche has quit [Ping timeout: 240 seconds]
<companion_cube> omg labor[m] you killed Kenny^W gasche
dinakajoy has joined #ocaml
<labor[m]> :s
mro_name has quit [Remote host closed the connection]
gasche has joined #ocaml
<gasche> (browser clients will do this when you suspend your machine)
mro_name has joined #ocaml
gasche has quit [Quit: Connection closed]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
kush has joined #ocaml
dinakajoy has quit [Ping timeout: 240 seconds]
curtosis has joined #ocaml
IngeEmma has joined #ocaml
kush has quit [Quit: Connection closed]
tane has joined #ocaml
mro_name has quit [Quit: Leaving...]
lindah has joined #ocaml
<lindah> Hello everyone. I'm Linda an outreachy applicant from Nigeria. Glad to be here and contirbute.
lindah has quit [Quit: Connection closed]
borne has quit [Ping timeout: 246 seconds]
neiluj has quit [Quit: leaving]
lindah has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
narimiran has quit [Ping timeout: 268 seconds]
IngeEmma has quit [Quit: Connection closed]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<olle> What's this outreach thingy?
mxns has joined #ocaml
<olle> Mentorship?
<olle> Hm.
mxns has quit [Ping timeout: 276 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
curtosis is now known as curtosis[away]
<d_bot> <Shon F> Welcome, Linda.
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has joined #ocaml
rock64 has quit [Ping timeout: 240 seconds]
<octachron> olle, it is an internship program: https://www.outreachy.org/
mxns has quit [Ping timeout: 245 seconds]
<olle> octachron: ok! thanks.
borne has joined #ocaml
tane has quit [Quit: Leaving]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
borne has quit [Ping timeout: 250 seconds]
mxns has joined #ocaml
Guest58445 is now known as Johann
zhansaya_ has joined #ocaml
zhansaya_ has quit [Client Quit]
blah has joined #ocaml
Annysah has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
<olle> If anyone is still awake, is there an obvious solution to nesting match with options types: https://pastebin.com/yA1PKQU0
<olle> If options type is None, return Error "bla bla", else continue
<companion_cube> you can use an option monad
<olle> NOOOOO
<olle> ^^
<companion_cube> e.g. with containers: `Option.(let* x = Some 1 in let* y = Some 2 in Some (x+y));;`
<olle> OK, looks easy enough
mxns has quit [Ping timeout: 246 seconds]
<olle> But I wanted to keep it simple. It's a show-case.
Annysah has quit [Ping timeout: 240 seconds]
<companion_cube> it's simple
<companion_cube> it's a `open` away :p
<olle> companion_cube: conceptually simple, for a person who codes in PHP and Go :d
<olle> Well, maybe exceptions is more clear
<companion_cube> I mean
<olle> if None then raise "bla"; ...
<companion_cube> if you want to sell OCaml, sell it on good arguments
<olle> "Simple, elegant - all you need is a monad!" :|
<olle> I will include both versions.
<olle> Thanks!
<companion_cube> 🤷🤷🤷🤷
<olle> ^^
<companion_cube> I mean the pattern matching is more correct than Go
<companion_cube> typically
<companion_cube> (you can't just ignore the error/None/nil)
<olle> correct how?
<olle> ah
<companion_cube> the let* is just sugar on top of that
<olle> Sure
<d_bot> <froyo> olle, semicolons are statement separators not terminators
<olle> You can contrive it in PHP, like `[$result, $errorMessage] = do_something(123);` and then apply analyse to make sure it's destructored correctly.
<olle> froyo, didn't compile it yet :d
<companion_cube> but that's the problem, you're using a tuple
<companion_cube> like in Go
<companion_cube> whereas in OCaml you have either `Ok x` or `Error err`
<olle> companion_cube: Well, they call it "array shape" in Psalm analyser, and enforces the exact structure of the array.
<d_bot> <froyo> just a tiny nitpick really, but could produce annoying warnings when the value/expr on the left doesn't eval to unit
<companion_cube> olle: not what I'm saying
<olle> froyo, sure :)
<d_bot> <froyo> and could introduce weird logic errors
<d_bot> <froyo> actually scratch that
<olle> companion_cube: destructor a tuple is not much harder than a sum type, tho?
<d_bot> <froyo> it's not a minor nitpick
<d_bot> <froyo> lol
<companion_cube> olle: it's trickier because you can just ignore the error
<companion_cube> (and if there's an error, what is the value anyway?!)
mxns has joined #ocaml
<olle> companion_cube: in Go? PHP+Psalm, you have to check all nullable types
<olle> Obviously not as tight as in ML type system
<olle> The value of the error?
<olle> Don't know if Go checks for nullable things
<olle> With flow sensitivity
<olle> And you can't really enforce the invariant that result must be empty if error is not empty.
mxns has quit [Ping timeout: 252 seconds]
not_lain6 has joined #ocaml
serpent has joined #ocaml
noonien8 has joined #ocaml
ansiwen_ has joined #ocaml
White__Flame has joined #ocaml
tmhoang520 has joined #ocaml
* olle going to bed, bye!
freshmaker666 has joined #ocaml
freshmaker666 has joined #ocaml
adrien_ has joined #ocaml
not_lain has quit [Quit: Ping timeout (120 seconds)]
xandkar has quit [Ping timeout: 265 seconds]
White_Flame has quit [Ping timeout: 265 seconds]
adrien has quit [Ping timeout: 265 seconds]
runawayfive has quit [Ping timeout: 265 seconds]
not_lain6 is now known as not_lain
Serpent7776 has quit [Read error: Connection reset by peer]
Ekho has quit [Ping timeout: 265 seconds]
tmhoang52 has quit [Ping timeout: 265 seconds]
_ks has joined #ocaml
daimrod has joined #ocaml
<companion_cube> Go doesn't check anything
glass has joined #ocaml
daimrod_ has quit [Ping timeout: 240 seconds]
greeb has quit [Write error: Connection reset by peer]
noonien has quit [Ping timeout: 240 seconds]
theglass has quit [Ping timeout: 240 seconds]
_ks_ has quit [Ping timeout: 240 seconds]
ansiwen has quit [Ping timeout: 240 seconds]
noonien8 is now known as noonien
<olle> No?
<olle> They should call it Booo
<d_bot> <froyo> you could probably make that nicer depending on more specifics
<olle> ha!
<olle> thanks :)
mxns has joined #ocaml
<olle> will add it to the notes
Ekho has joined #ocaml
runawayfive has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
mxns has quit [Ping timeout: 246 seconds]
olle has quit [Ping timeout: 240 seconds]
Tuplanolla has quit [Quit: Leaving.]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
mxns has joined #ocaml
lindah has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 250 seconds]