Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
zebrag has joined #ocaml
oriba has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
spip has joined #ocaml
bobo has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gravicappa has joined #ocaml
Everything has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
mbuf has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 268 seconds]
waleee has quit [Quit: WeeChat 3.3]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
<d_bot> <a-c-sreedhar-reddy> Hi all.
<d_bot> <a-c-sreedhar-reddy> Opening a project in vscode, `ocamllsp` throws the following error.
<d_bot> <a-c-sreedhar-reddy> ```
<d_bot> <a-c-sreedhar-reddy> /Users/acsreedharreddy/.opam/4.06.1/lib/ocaml/compiler-libs/location.cmi
<d_bot> <a-c-sreedhar-reddy> seems to be compiled with OCaml 4.06.
<d_bot> <a-c-sreedhar-reddy> But this instance of Merlin handles OCaml 4.12.```
<d_bot> <a-c-sreedhar-reddy>
<d_bot> <a-c-sreedhar-reddy> How can I fix this?
<d_bot> <Ulugbek> I feel like you want to compile your project with your OCaml version 4.12; it seems now to be compiled with 4.06
<d_bot> <a-c-sreedhar-reddy> I ran `make` command which compiles using `4.12.0`
<d_bot> <a-c-sreedhar-reddy> and the build is also successful
<d_bot> <a-c-sreedhar-reddy> But there is some issue with ocamllsp which is throwing this error.
<d_bot> <Ulugbek> Oh, does the project use dune?
<d_bot> <Ulugbek> Also, can you save the file to get updated diagnostics? If you compiled after you opened the file with the error, the error may simply be stale. When you save the file, you get fresh diagnostics
<d_bot> <a-c-sreedhar-reddy> I do not think so. I am new to ocaml. This is the repo: https://github.com/rescript-lang/rescript-vscode/tree/master/analysis
<d_bot> <a-c-sreedhar-reddy>
<d_bot> <a-c-sreedhar-reddy> Tried editing the file and then running `make` But still the issue remians.
<d_bot> <Ulugbek> Also, can you call vscode command from the command palette in vscode “ocaml: set sandbox…” and pick an appropriate sandbox
mro has joined #ocaml
<d_bot> <Ulugbek> Oh well the project uses compiler version 4.06 as expected. So you want to install that version of ocaml. You should be able to go to the project root and run “esy”
<d_bot> <a-c-sreedhar-reddy> But in the contribution docs it mentions it uses 4.12.0 https://github.com/rescript-lang/rescript-vscode/blob/master/CONTRIBUTING.md#install-dependencies
<d_bot> <Ulugbek> I’m not sure that’s the command esy to run actually. It seems to compile to JavaScript so it probably used npm or yarn.
<d_bot> <Ulugbek> They have .merlin file with fixed 4.06, I’d talk to maintainers
Haudegen has joined #ocaml
<d_bot> <a-c-sreedhar-reddy> Deleting `.merlin` and then recompiling worked.
<d_bot> <a-c-sreedhar-reddy> Thanks. @Ulugbek
<dmbaturin> Ulugbek: Do you have a mural quadrant? ;)
<d_bot> <qiqiq> HI! I am new to Ocaml. When I follow the documentation (https://diskuv.gitlab.io/diskuv-ocaml/index.html) to install with powershell in Windows, it suddenly breaks and prompts the following error. what should I do😭
Serpent7776 has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
mro has quit [Remote host closed the connection]
kevinsjoberg has left #ocaml [#ocaml]
hendursa1 has joined #ocaml
hendursaga has quit [Ping timeout: 276 seconds]
gravicappa has joined #ocaml
<d_bot> <let Butanium = raise Not_found;;> You can retry the installation in admin mode maybe
<d_bot> <let Butanium = raise Not_found;;> If it doesn't work open an issue on gitlab
<d_bot> <qiqiq> Thanks!I will try it again in admin mode. By the way , what's the meaning of open an issue on gitlab, I am so new..
<dmbaturin> This is the first time I hear about Diskuv OCaml distribution. I use fdopen's package from https://fdopen.github.io/opam-repository-mingw/
<Fardale> The project is hosted on gitlab https://gitlab.com/diskuv/diskuv-ocaml/ so if you want to report a problem you can go to the issue tracker https://gitlab.com/diskuv/diskuv-ocaml/-/issues and post your problem there.
olle has joined #ocaml
Tuplanolla has joined #ocaml
mro has joined #ocaml
<d_bot> <qiqiq> I have tried this method and it also failed🥲
gravicappa has quit [Ping timeout: 260 seconds]
<d_bot> <let Butanium = raise Not_found;;> I also had an issue installing diskuv but Johann the creator helped me fixing it
<d_bot> <let Butanium = raise Not_found;;> So if you open an issue he'll certainly help you
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
olle has quit [Ping timeout: 256 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
xd1le has quit [Quit: xd1le]
gravicappa has joined #ocaml
jlrnick has joined #ocaml
mro has quit [Quit: Leaving...]
<d_bot> <qiqiq> Thank you so much. I have post an issue
spip has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
bobo has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
jlrnick has quit [Ping timeout: 268 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bobo has joined #ocaml
spip has quit [Ping timeout: 245 seconds]
wonko has joined #ocaml
gravicappa has joined #ocaml
<dmbaturin> Is there a way to force odoc to include a nested module signature in the parent module page, rather than just a link to the nested module's page?
gravicappa has quit [Ping timeout: 268 seconds]
bartholin has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
wonko has quit [Ping timeout: 256 seconds]
wonko has joined #ocaml
Everything has quit [Quit: leaving]
<d_bot> <leviroth> I think not currently, see this open issue: https://github.com/ocaml/odoc/issues/564
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #ocaml
waleee has joined #ocaml
<d_bot> <Ethazz> Hello, i've a friend that has a problem on windows with vscode when he tries to compile his code by using Crtl + enter. The message error is `Stop the terminal process "C:\OCaml64\home\ybena.opam\4.12.0+mingw64c\bin\utop.exe". Exit code: 2.` Anyone has already faced this problem ?
<dmbaturin> leviroth: Thanks!
bartholin has quit [Ping timeout: 256 seconds]
<d_bot> <Ulugbek> dmbaturin:
<d_bot> <Ulugbek> > Do you have a mural quadrant? 😉
<d_bot> <Ulugbek> oh, that's unexpected 😄 I don't, you're thinking of another Ulugbek 😛
bartholin has joined #ocaml
olle has joined #ocaml
<d_bot> <RegularSpatula> Are you trying to hack on the ReScript vscode plugin or just use it?
mbuf has quit [Quit: Leaving]
<d_bot> <a-c-sreedhar-reddy> Hi @RegularSpatula I was trying to hack on the ReScript vscode plugin.
<d_bot> <Ulugbek> did you get it to work eventually?
<d_bot> <RegularSpatula> makes sence...just checking. I know that rescript uses an old version of ocaml compiler as you've run into. i did manage to get an alternative toolchain set up to work on rescript ocaml stuff as well as normal...it's been a while, but have you set up a switch for that version of the ocaml compiler?
<d_bot> <a-c-sreedhar-reddy> No @Ulugbek I had to go out, and came back just now.
<d_bot> <a-c-sreedhar-reddy>
<d_bot> <a-c-sreedhar-reddy> @RegularSpatula In the contribution docs it says to use 4.12.0 https://github.com/rescript-lang/rescript-vscode/blob/master/CONTRIBUTING.md#install-dependencies
<d_bot> <RegularSpatula> yeah i saw that
<d_bot> <RegularSpatula> just reporting what I had to do (granted it was a while ago)
<d_bot> <RegularSpatula> whenever doing anything from the ocaml side with rescript i have a switch setup for just that with the 4.06 compiler...then all the tooling works fine
gravicappa has joined #ocaml
rgrinberg has joined #ocaml
Serpent7776 has quit [Read error: Connection reset by peer]
Serpent7776 has joined #ocaml
jlrnick has joined #ocaml
bartholin has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
cedric has joined #ocaml
<d_bot> <kluvin> Has anybody else here received suspicious messages from a CaliburSage#7930? The gist is that they have mistakenly reported my steam account.
<d_bot> <kluvin>
<d_bot> <kluvin> tagging @admin
<d_bot> <Perry> Probably just a spammer?
gravicappa has quit [Ping timeout: 256 seconds]
<d_bot> <kluvin> Definitely. Though it is probably advisable to ban them?
<d_bot> <Perry> post a screenshot?
<d_bot> <Président daren le pétrolier> is ocaml.org down ?
<d_bot> <Perry> @kluvin
<d_bot> <Perry> That doesn’t look like a private message on discord.
<d_bot> <kluvin> Some context
<d_bot> <Perry> The context isn’t really very useful.
<d_bot> <kluvin> What would you want? Here's the last bit. Just thought I'd put the word out, I'm not minded by it at all
<d_bot> <Perry> Anyway I banned the account.
<d_bot> <Perry> Mostly because you’re clearly a real user and the other account has no public posts to this discord. But next time you should be a bit more careful about how you do a report.
<d_bot> <kluvin> It's not terribly easy to find admins here though. Sort of need to work with what I get. Thanks for the advice, anyway 🙂
<d_bot> <Perry> It’s trivial to find us. And I don’t understand the rest of your comment.
<d_bot> <Perry> Anyway, ttyl.
<d_bot> <pekatour> Got the same guy messaging me
<d_bot> <NULL> Both the website and the opam repo it hosts are up to me
<d_bot> <Président daren le pétrolier> sounds like a weird problem to me, thank you!
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bartholin has quit [Ping timeout: 244 seconds]
bartholin has joined #ocaml
<d_bot> <VPhantom> It's the second time in as many weeks that I hear about a version of this "sorry I flagged you as spam" scam. Weird times…
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #ocaml
wonko has quit [Ping timeout: 245 seconds]
mro has joined #ocaml
zebrag has joined #ocaml
mro has quit [Quit: Leaving...]
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml
brettgilio has quit [Quit: Leaving...]
Anarchos has joined #ocaml
brettgilio has joined #ocaml
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #ocaml
eremitah has joined #ocaml
eremitah has quit [Remote host closed the connection]
eremitah has joined #ocaml
eremitah has quit [Changing host]
eremitah has joined #ocaml
eremitah has quit [Client Quit]
eremitah has joined #ocaml
eremitah has quit [Client Quit]
xd1le has joined #ocaml
olle has quit [Ping timeout: 256 seconds]
zebrag has quit [Remote host closed the connection]
jlrnick has quit [Ping timeout: 268 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zebrag has joined #ocaml
zebrag has quit [Remote host closed the connection]
zebrag has joined #ocaml
zebrag has quit [Remote host closed the connection]
zebrag has joined #ocaml
slothby has joined #ocaml
<Anarchos> Are there some benchmarks in ocaml , to compare the performance of different platforms ? I have some computers that i would like to compare
pieguy128 has quit [Quit: ZNC 1.8.2 - https://znc.in]
pieguy128 has joined #ocaml
lagash has joined #ocaml
waleee has quit [Quit: WeeChat 3.3]
waleee has joined #ocaml
bgs has joined #ocaml
waleee has quit [Quit: WeeChat 3.3]
waleee has joined #ocaml
hendursaga has quit [Quit: hendursaga]
cedric has quit [Quit: Konversation terminated!]
<Anarchos> why is the opam version stuck to 4.08.1 ?
* Anarchos finds that it is this version which is the latest on ubuntu.