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
Tuplanolla has quit [Ping timeout: 276 seconds]
rock64 has quit [Ping timeout: 264 seconds]
rock64 has joined #ocaml
vicfred has quit [Ping timeout: 265 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
osa1 has quit [Ping timeout: 246 seconds]
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
madroach_ has joined #ocaml
madroach has quit [Ping timeout: 276 seconds]
shawnw__ has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 265 seconds]
andreas303 has quit [Ping timeout: 268 seconds]
andreas303 has joined #ocaml
lopex has quit [Quit: Connection closed for inactivity]
shawnw has joined #ocaml
ania123 has joined #ocaml
ania123 has quit [Quit: Connection closed]
zebrag has quit [Quit: Konversation terminated!]
mbuf has joined #ocaml
osa1 has joined #ocaml
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 265 seconds]
ania123 has joined #ocaml
<ania123> I want to use visual code
<ania123> what extensions should I install?
<ania123> I need to have a button in the code
<ania123> to compile ocaml program
<ania123> can someone help?
<ania123> hi
bartholin has joined #ocaml
<d_bot> <antron> @ania123, i use the extension "Ocaml and Reason IDE". it doesn't have a button, but you can open a terminal with ctrl+~ in your project directory, and run dune build -w
<ania123> I installed yesterday an extension and I could consult programs directly from editor
<ania123> just clicking button
<ania123> I am unable now to find it
<ania123> I unintalled yesterday it and now not able to find that extension
<Khady> Ocaml platform has automatic build task detection of your project is using dune
<d_bot> <antron> i cant seem to get ocaml platform working, probably because i am on wsl. i basically use only the syntax highlighting and icons out of whatever extension i install, and so far ocaml and reason ide has been the most to my tastes. its merlin support also doesnt work so well for me
<ania123> ocamlmerlin error:
<ania123> I am getting it
<ania123> :(
<d_bot> <antron> either try configuring it, or just ESC out of the message (did you start vscode from the terminal or from your graphical shell?)
<Khady> Did you install
<Khady> Ocamllsp
<Khady> And did you select the right Ocaml sandbox in vscode
<ania123> I think, I did not
<ania123> should I
<ania123> ?
<d_bot> <antron> @khady no, this is coming from the extension i suggested. @ania123 i think the other one is called OCaml Platform
<d_bot> <antron> and you need to `opam install ocaml-lsp-server`
<ania123> d_bot
<ania123> still same problem :(
<d_bot> <antron> well for help you should answer those questions, e.g. where did you start vscode from? did you run eval $(opam env)? what system are you on? etc
<d_bot> <antron> as for me i might not be of much help, as im on WSL, i never used merlin or ocamllsp to begin with, so i dont mind them not working
<ania123> I am using windows OS
<ania123> is there way to paste screen here?
<d_bot> <antron> what environment are you programming in? cygwin? wsl? cmd + msvc? something else?
<ania123> I need only pure ocaml
<ania123> just to run codes written in ocaml
<ania123> nothing else
<d_bot> <antron> you should already have a working ocamlopt command in the shell
<ania123> cygwin
<d_bot> <antron> how did you get ocaml? cygwin's package installer?
<ania123> I am getting error messages
<ania123> can I show screen?
<d_bot> <antron> i don't know, i am on discord and you are on irc. i probably wouldnt see them unless you upload them somewhere and send a link
<d_bot> <antron> can you paste parts of the text instead?
mbuf has quit [Quit: Leaving]
<ania123> d_bot
<ania123> do you use team viewver ?
<d_bot> <antron> no
<ania123> desk?
<ania123> anydesk?
<d_bot> <antron> no. i think github gist might support images, never tried it
<d_bot> <antron> but you should be able to paste a message
<ania123> I sent u link
<d_bot> <antron> i am not on irc
<d_bot> <antron> go to extensions (Ctrl+Shift+X) and disable OCaml and Reason IDE, since you are now trying OCaml Platform
<d_bot> <antron> have you tried clicking the blue button Select package manager and sandbox?
<ania123> which one is better?  OCaml and Reason IDE or OCaml Platform?
<ania123> which should I leave?
<d_bot> <antron> should be platform but whichever one you can get working
bartholin has quit [Ping timeout: 276 seconds]
<ania123> what should I disbale?
<ania123> could you please list of extensions, I should disable ?
<ania123> d_bot, could you recommend me please, what should I remove/add
jbrown has joined #ocaml
catt has joined #ocaml
Tuplanolla has joined #ocaml
ania123 has quit [Quit: Connection closed]
<d_bot> <mnxn> ania123: all of those ocaml extensions are conflicting with each other
<d_bot> <mnxn> you only need ocaml platform
Tuplanolla has quit [Read error: Connection timed out]
Tuplanolla has joined #ocaml
shawnw has quit [Read error: Connection reset by peer]
shawnw__ has joined #ocaml
fosred has joined #ocaml
fosred has quit [Quit: Leaving]
<d_bot> <vds> Also if you plan to use Dune to build your project you might want to stay on Dune 2.7.1 if you are using Cygwin because there are some issues with ocaml-lsp-server and Dune 2.8.2 on windows.
<d_bot> <vds>
<d_bot> <vds> (`opam install dune.2.7.1`)
<d_bot> <vds>
<d_bot> <vds> (` opam inst
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
tane has joined #ocaml
Haudegen has joined #ocaml
cartwright has quit [Remote host closed the connection]
tryte_ has quit [Remote host closed the connection]
tryte has joined #ocaml
mfp has joined #ocaml
cartwright has joined #ocaml
lopex has joined #ocaml
lopex is now known as Guest82013
Guest82013 is now known as lopex
_whitelogger has joined #ocaml
zebrag has joined #ocaml
eoyath has joined #ocaml
<eoyath> hey, I am a complete idiot, could I port this https://github.com/owickstrom/motor or ST to OCaml?
<eoyath> I mean, is it possible?
ania123 has joined #ocaml
<ania123> hi
<Drup> eoyath: not directly. If it is what I think it is (state transformers with session types), you can probably make something similar, but it's quite technical and not really accessible to a beginner
<eoyath> Drup: thank you
<Drup> (also, damn, that's ridiculously over engineered)
<eoyath> well it is based on ST in Idris, and the library gave me hope that it didn't depend on language-specific features
<Drup> it really does
<Drup> it's probably good in Idris, because it's more natural to do dependent type fanciness there, but in Haskell, blerg, and in OCaml, it would just be unreasonably unwieldy
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
<ania123> does someone use visual code?
ania123 has quit [Ping timeout: 240 seconds]
shawnw__ has quit [Ping timeout: 264 seconds]
neiluj has joined #ocaml
neiluj has quit [Changing host]
neiluj has joined #ocaml
boxscape has quit [Ping timeout: 264 seconds]
waleee-cl has joined #ocaml
vicfred has joined #ocaml
delysin has quit [Read error: Connection reset by peer]
delysin has joined #ocaml
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
nullcone has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
ewd has joined #ocaml
ania123 has joined #ocaml
oriba has joined #ocaml
ania123 has quit [Quit: Connection closed]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
TheLemonMan has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
raver has quit [Read error: Connection reset by peer]
<d_bot> <lubega-simon> I do use visual studio code, but I agree that wiring ocamllsp server into it is by chance to me, when something goes wrong, you can hardly tell what exactly is the problem
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
_whitelogger has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
catt has quit [Ping timeout: 260 seconds]
vicfred has quit [Quit: Leaving]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
mxns has joined #ocaml
spiegelau has joined #ocaml
tane has quit [Quit: Leaving]
mxns has quit [Ping timeout: 245 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
vicfred has joined #ocaml
ewd has quit [Ping timeout: 245 seconds]
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #ocaml
zebrag has quit [Client Quit]
zebrag has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]