companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.12 released: https://ocaml.org/releases/4.12.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
haesbaert has joined #ocaml
shawnw has quit [Remote host closed the connection]
shawnw has joined #ocaml
dh` has quit [Quit: reboot time]
dh` has joined #ocaml
dhil has quit [Ping timeout: 268 seconds]
minwuekim has joined #ocaml
aquijoule__ has joined #ocaml
aquijoule_ has quit [Ping timeout: 265 seconds]
<d_bot> <jayesh.bhoot> This might already be solved, but here is a copy paste of the notes I collected:
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> autocompletion in vscode for #ocaml seems to need the following:
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> # merlin might be redundant because lsp-server installs its own version of merlin
<d_bot> <jayesh.bhoot> opam install merlin ocaml-lsp-server ocamlformat
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> # install extension in vscode
<d_bot> <jayesh.bhoot> ext install ocamllabs.ocaml-platform
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> # build your project with dune. add dependencies in `libraries` in `dune`. docs are the best source
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> # ensure that there is a .ocamlformat file at the root of your project. Without this, vscode’s Format command (ctrl-shift-i?) won’t work. To use the defaults, you can populate this file with just one key-value pair, `version=<value>, where value is version number output by `ocamlformat —version` command.
<d_bot> <jayesh.bhoot>
<d_bot> <jayesh.bhoot> # from there on, rebuild whenever you add a dependency
mbuf has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
gravicappa has joined #ocaml
haesbaert has quit [Quit: Lost terminal]
minwuekim has quit [Ping timeout: 246 seconds]
minwuekim has joined #ocaml
sagax has joined #ocaml
minwuekim has quit [Quit: Quit]
minwuekim has joined #ocaml
minwuekim has quit [Client Quit]
minwuekim has joined #ocaml
minwuekim has quit [Client Quit]
minwuekim has joined #ocaml
minwuekim has quit [Quit: Quit]
minwuekim has joined #ocaml
minwuekim has quit [Client Quit]
minwuekim has joined #ocaml
dh` has quit [Quit: reboot time again]
shawnw has quit [Ping timeout: 258 seconds]
dh` has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
minwuekim has quit [Remote host closed the connection]
minwuekim has joined #ocaml
gahr has quit [Quit: leaving]
gahr has joined #ocaml
unyu has joined #ocaml
minwuekim has quit [Read error: Connection reset by peer]
minwuekim has joined #ocaml
mro has joined #ocaml
minwuekim has quit [Ping timeout: 252 seconds]
minwuekim has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Haudegen has joined #ocaml
minwuekim has quit [Read error: Connection reset by peer]
minwuekim has joined #ocaml
vizard has joined #ocaml
glassofethanol has joined #ocaml
dhil has joined #ocaml
yoctocell has joined #ocaml
<d_bot> <Ulugbek> > # from there on, rebuild whenever you add a dependency
<d_bot> <Ulugbek> One can get very nice experience with ocamllsp running dune in watch mode in the integrated terminal of vscode `dune build --watch --terminal-persistence=clear-on-rebuild`
mro has quit [Remote host closed the connection]
gravicappa has joined #ocaml
<d_bot> <Ulugbek> What am I doing wrong here?
<d_bot> <Ulugbek>
<d_bot> <Ulugbek> ```
<d_bot> <Ulugbek> $ opam switch list-av
<d_bot> <Ulugbek> ...
<d_bot> <Ulugbek> ocaml-base-compiler 4.13.0~alpha1 First alpha release of OCaml
<d_bot> <Ulugbek> 4.13.0
<d_bot> <Ulugbek> ocaml-variants 4.13.0~alpha1+options First alpha release of OCaml
<d_bot> <Ulugbek> 4.13.0
<d_bot> <Ulugbek> ocaml-variants 4.13.0+trunk Latest 4.13 developmet
<d_bot> <Ulugbek> ocaml-variants 4.14.0+trunk Current trunk
<d_bot> <Ulugbek>
<d_bot> <Ulugbek> $ opam switch create 4.13.0~alpha1 ocaml-base-compiler.4.13.0 --repositories ocaml-beta=git+https://github.com/ocaml/ocaml-beta-repository.git
<d_bot> <Ulugbek> [ERROR] No compiler matching 'ocaml-base-compiler.4.13.0' found, use 'opam switch list-available' to see
<d_bot> <Ulugbek> what is available, or use '--packages' to select packages explicitly.
<d_bot> <Ulugbek>
<d_bot> <Ulugbek> $ opam switch create 4.13.0~alpha1 ocaml-base-compiler.4.13.0~alpha1 --repositories ocaml-beta=git+https://github.com/ocaml/ocaml-beta-repository.git
<d_bot> <Ulugbek> [ERROR] No compiler matching 'ocaml-base-compiler.4.13.0~alpha1' found, use 'opam switch list-available' to
<d_bot> <Ulugbek> see what is available, or use '--packages' to select packages explicitly.
<d_bot> <Ulugbek> ```
<d_bot> <flodin> opam switch create 4.13.0~alpha1 --repositories=default,beta=git+https://github.com/ocaml/ocaml-beta-repository.git
<d_bot> <octachron> @Ulugbek : the ocaml-beta-repository only contains a key package that is needed to install prerelease compiler package, you still need to have a repository that does contain those prerelease packages.
<d_bot> <octachron> which is why the installation instructions adds two repo: `--repo=default,ocaml-beta=git+https://github.com/ocaml/ocaml-beta-repository.git`
<d_bot> <Ulugbek> thanks flodin and octachron!
<d_bot> <Ulugbek> Am I right in assuming that the final 4.13.0 will be based on `ocaml-base-compiler.4.13.0+trunk`?
<d_bot> <Ulugbek> Also, I looked at the `4.13` branch of `ocaml/ocaml` and see that it's 10 commits ahead and 44 commits behind `trunk`. I wonder how it can be 10 commits ahead of `trunk`?
mro has joined #ocaml
<d_bot> <octachron> The `+trunk` variants always point to the dev version of the branch. The final release will correspond to a fixed tag of this branch. Commits are cherry-picked from trunk to 4.13.0, thus the ahead commits.
olle has joined #ocaml
haesbaert has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Ping timeout: 268 seconds]
mbuf has quit [Quit: Leaving]
gravicappa has quit [Ping timeout: 258 seconds]
mbuf has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
gravicappa has joined #ocaml
unyu has quit [Quit: WeeChat 3.2]
zebrag has joined #ocaml
minwuekim has quit [Read error: Connection reset by peer]
minwuekim has joined #ocaml
minwuekim has quit [Client Quit]
minwuekim has joined #ocaml
Haudegen has joined #ocaml
cedric_ has joined #ocaml
cedric_ has quit [Client Quit]
cedric_ has joined #ocaml
cedric_ has quit [Client Quit]
cedric_ has joined #ocaml
cedric_ is now known as cedric__
waleee has joined #ocaml
cedric__ is now known as cedric_
cedric_ is now known as cedric
minwuekim has quit [Ping timeout: 252 seconds]
minwuekim has joined #ocaml
rwmjones has quit [Ping timeout: 272 seconds]
rwmjones has joined #ocaml
yoctocell has quit [Remote host closed the connection]
mro has joined #ocaml
_whitelogger has joined #ocaml
damien2 has joined #ocaml
rom1504 has joined #ocaml
oisota has joined #ocaml
thizanne has joined #ocaml
lobo has joined #ocaml
Putonlalla has joined #ocaml
tristanC has quit [Changing host]
tristanC has joined #ocaml
nfc has joined #ocaml
lobo has quit [Changing host]
lobo has joined #ocaml
conjunctive has joined #ocaml
cbarrett has joined #ocaml
JSharp has joined #ocaml
berberman has joined #ocaml
st has joined #ocaml
mro has quit [Remote host closed the connection]
thizanne has quit [Quit: WeeChat 2.3]
thizanne has joined #ocaml
mro has joined #ocaml
vicfred has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has quit [Quit: WeeChat 3.2]
mro has joined #ocaml
waleee has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mikess has quit [Ping timeout: 252 seconds]
minwuekim has quit [Ping timeout: 268 seconds]
minwuekim has joined #ocaml
bartholin has quit [Quit: Leaving]
mikess has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
olle has quit [Ping timeout: 258 seconds]
Haudegen has joined #ocaml
kakadu has quit [Remote host closed the connection]
domq has joined #ocaml
glassofethanol has quit [Quit: leaving]
mbuf has quit [Quit: Leaving]
Tuplanolla has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
olle has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
vb has quit [Quit: Lost terminal]
vb has joined #ocaml
domq has quit [Ping timeout: 256 seconds]
Stumpfenstiel has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
zebrag has quit [Remote host closed the connection]
zebrag has joined #ocaml
Serpent7776 has quit [Quit: leaving]
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]
troydm has joined #ocaml
dhil has quit [Ping timeout: 246 seconds]
dhil has joined #ocaml
glassofethanol has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
dhil has quit [Ping timeout: 265 seconds]
mro has quit [Ping timeout: 256 seconds]
vizard has quit [Ping timeout: 268 seconds]
dhil has joined #ocaml
troydm has quit [*.net *.split]
damien2 has quit [*.net *.split]
Stumpfenstiel has quit [*.net *.split]
Tuplanolla has quit [*.net *.split]
adanwan has quit [*.net *.split]
glassofethanol has quit [*.net *.split]
vicfred has quit [*.net *.split]
nfc has quit [*.net *.split]
Armael has quit [*.net *.split]
Enjolras_ has quit [*.net *.split]
rwmjones has quit [*.net *.split]
gahr has quit [*.net *.split]
pieguy128 has quit [*.net *.split]
rak has quit [*.net *.split]
xenu has quit [*.net *.split]
zebrag has quit [*.net *.split]
Haudegen has quit [*.net *.split]
st has quit [*.net *.split]
lobo has quit [*.net *.split]
oisota has quit [*.net *.split]
haesbaert has quit [*.net *.split]
aquijoule__ has quit [*.net *.split]
wagle has quit [*.net *.split]
sleepydog has quit [*.net *.split]
motherfsck has quit [*.net *.split]
Chouhartem has quit [*.net *.split]
jinsun has quit [*.net *.split]
noddy has quit [*.net *.split]
thizanne has quit [*.net *.split]
berberman has quit [*.net *.split]
rom1504 has quit [*.net *.split]
cedric has quit [*.net *.split]
tizoc has quit [*.net *.split]
minwuekim has quit [*.net *.split]
ski has quit [*.net *.split]
tristanC has quit [*.net *.split]
tomku|two has quit [*.net *.split]
TakinOver has quit [*.net *.split]
SquidDev has quit [*.net *.split]
leah2 has quit [*.net *.split]
copy has quit [*.net *.split]
inkbottle[m] has quit [*.net *.split]
terrorjack has quit [*.net *.split]
kvik has quit [*.net *.split]
dhil has quit [*.net *.split]
vb has quit [*.net *.split]
mikess has quit [*.net *.split]
Putonlalla has quit [*.net *.split]
Nahra` has quit [*.net *.split]
yomimono has quit [*.net *.split]
nyuhu has quit [*.net *.split]
dinosaure has quit [*.net *.split]
ansiwen has quit [*.net *.split]
zozozo has quit [*.net *.split]
darxun has quit [*.net *.split]
cross has quit [*.net *.split]
johnel has quit [*.net *.split]
Johann has quit [*.net *.split]
pippijn has quit [*.net *.split]
sadiq has quit [*.net *.split]
vsiles has quit [*.net *.split]
ralu has quit [*.net *.split]
habnabit_ has quit [*.net *.split]
reynir has quit [*.net *.split]
bacam has quit [*.net *.split]
mosterdt_ has quit [*.net *.split]
adrien has quit [*.net *.split]
EmoSpice has quit [*.net *.split]
smondet[m] has quit [*.net *.split]
daimrod has quit [*.net *.split]
nore has quit [*.net *.split]
taylskid has quit [*.net *.split]
marinelli[m] has quit [*.net *.split]
ocabot has quit [*.net *.split]
andreypopp has quit [*.net *.split]
Leonidas has quit [*.net *.split]
Ekho has quit [*.net *.split]
Drup has quit [*.net *.split]
ebb has quit [*.net *.split]
Sumera[m] has quit [*.net *.split]
fluxm has quit [*.net *.split]
radiopotin[m] has quit [*.net *.split]
krnkktz has quit [*.net *.split]
labor[m] has quit [*.net *.split]
dy has quit [*.net *.split]
notnotdan has quit [*.net *.split]
cemerick has quit [*.net *.split]
sim642 has quit [*.net *.split]
hexology has quit [*.net *.split]
arg has quit [*.net *.split]
drakonis has quit [*.net *.split]
ks_ has quit [*.net *.split]
Corbin has quit [*.net *.split]
Boarders has quit [*.net *.split]
companion_cube has quit [*.net *.split]
ulyssa has quit [*.net *.split]
octachron has quit [*.net *.split]
Cypi has quit [*.net *.split]
bronsen has quit [*.net *.split]
welterde has quit [*.net *.split]
lisq has quit [*.net *.split]
farn has quit [*.net *.split]
schube[m] has quit [*.net *.split]
jyc has quit [*.net *.split]
mal`` has quit [*.net *.split]
asm has quit [*.net *.split]
dwt_ has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
ruffy_ has quit [*.net *.split]
engil has quit [*.net *.split]
toppler has quit [*.net *.split]
towel_ has quit [*.net *.split]
theglass has quit [*.net *.split]
theblatte has quit [*.net *.split]
drewolson has quit [*.net *.split]
greenbagels has quit [*.net *.split]
_tjr_ has quit [*.net *.split]
p4bl0 has quit [*.net *.split]
Techcable has quit [*.net *.split]
rks` has quit [*.net *.split]
landonf has quit [*.net *.split]
d_bot has quit [*.net *.split]
hannes has quit [*.net *.split]
caasih has quit [*.net *.split]
Fardale has quit [*.net *.split]
v0idpwn has quit [*.net *.split]
waleee has quit [Quit: WeeChat 3.2]
JSharp has quit [Ping timeout: 250 seconds]
dinosaure has joined #ocaml
vb has joined #ocaml
yomimono has joined #ocaml
Putonlalla has joined #ocaml
adanwan has joined #ocaml
nyuhu has joined #ocaml
dhil has joined #ocaml
mikess has joined #ocaml
jinsun has joined #ocaml
Nahra` has joined #ocaml
ansiwen has joined #ocaml
noddy has joined #ocaml
xenu has joined #ocaml
motherfsck has joined #ocaml
wagle has joined #ocaml
aquijoule__ has joined #ocaml
sleepydog has joined #ocaml
pieguy128 has joined #ocaml
rak has joined #ocaml
Chouhartem has joined #ocaml
damien2 has joined #ocaml
Enjolras_ has joined #ocaml
haesbaert has joined #ocaml
lobo has joined #ocaml
nfc has joined #ocaml
st has joined #ocaml
vicfred has joined #ocaml
Haudegen has joined #ocaml
zebrag has joined #ocaml
glassofethanol has joined #ocaml
Armael has joined #ocaml
rwmjones has joined #ocaml
gahr has joined #ocaml
oisota has joined #ocaml
v0idpwn has joined #ocaml
_tjr_ has joined #ocaml
engil has joined #ocaml
toppler has joined #ocaml
ruffy_ has joined #ocaml
dmbaturin has joined #ocaml
mal`` has joined #ocaml
asm has joined #ocaml
dwt_ has joined #ocaml
jyc has joined #ocaml
lisq has joined #ocaml
farn has joined #ocaml
schube[m] has joined #ocaml
welterde has joined #ocaml
kvik has joined #ocaml
inkbottle[m] has joined #ocaml
terrorjack has joined #ocaml
copy has joined #ocaml
leah2 has joined #ocaml
adrien has joined #ocaml
mosterdt_ has joined #ocaml
bacam has joined #ocaml
reynir has joined #ocaml
habnabit_ has joined #ocaml
ralu has joined #ocaml
cross has joined #ocaml
darxun has joined #ocaml
caasih has joined #ocaml
hannes has joined #ocaml
theglass has joined #ocaml
Fardale has joined #ocaml
towel_ has joined #ocaml
companion_cube has joined #ocaml
theblatte has joined #ocaml
Johann has joined #ocaml
sadiq has joined #ocaml
vsiles has joined #ocaml
zozozo has joined #ocaml
johnel has joined #ocaml
pippijn has joined #ocaml
greenbagels has joined #ocaml
drewolson has joined #ocaml
landonf has joined #ocaml
rks` has joined #ocaml
p4bl0 has joined #ocaml
Techcable has joined #ocaml
ocabot has joined #ocaml
Leonidas has joined #ocaml
andreypopp has joined #ocaml
Ekho has joined #ocaml
Drup has joined #ocaml
marinelli[m] has joined #ocaml
ebb has joined #ocaml
thizanne has joined #ocaml
rom1504 has joined #ocaml
tizoc has joined #ocaml
waleee has joined #ocaml
cedric has joined #ocaml
berberman has joined #ocaml
minwuekim has joined #ocaml
tristanC has joined #ocaml
ski has joined #ocaml
TakinOver has joined #ocaml
tomku|two has joined #ocaml
SquidDev has joined #ocaml
smondet[m] has joined #ocaml
Sumera[m] has joined #ocaml
taylskid has joined #ocaml
nore has joined #ocaml
daimrod has joined #ocaml
marinelli[m] has quit [Ping timeout: 268 seconds]
waleee has quit [Client Quit]
bronsen has joined #ocaml
octachron has joined #ocaml
Cypi has joined #ocaml
ulyssa has joined #ocaml
fluxm has joined #ocaml
Corbin has joined #ocaml
radiopotin[m] has joined #ocaml
krnkktz has joined #ocaml
drakonis has joined #ocaml
Boarders has joined #ocaml
arg has joined #ocaml
ks_ has joined #ocaml
notnotdan has joined #ocaml
labor[m] has joined #ocaml
hexology has joined #ocaml
sim642 has joined #ocaml
cemerick has joined #ocaml
dy has joined #ocaml
inkbottle[m] has quit [Max SendQ exceeded]
minwuekim has quit [Remote host closed the connection]
EmoSpice has joined #ocaml
JSharp has joined #ocaml
troydm has joined #ocaml
d_bot has joined #ocaml
Tuplanolla has joined #ocaml
Stumpfenstiel has joined #ocaml
d_bot has quit [Excess Flood]
d_bot has joined #ocaml
schube[m] has quit [Ping timeout: 252 seconds]
radiopotin[m] has quit [Ping timeout: 272 seconds]
fluxm has quit [Ping timeout: 272 seconds]
krnkktz has quit [Ping timeout: 272 seconds]
labor[m] has quit [Ping timeout: 272 seconds]
smondet[m] has quit [Ping timeout: 272 seconds]
Sumera[m] has quit [Ping timeout: 272 seconds]
<glassofethanol> Is there a way in OCaml to assign a variable to a pattern, like in scala you can do v@Some(1) => println(v)
<d_bot> <Alistair> (Some (1) as v) -> ...
<glassofethanol> Thank you!
Stumpfenstiel has quit [Ping timeout: 256 seconds]
<d_bot> <NULL> `Some 1 as v` works, just note that `as` has lower precedence than even the bar `|`
waleee has joined #ocaml
Haudegen has quit [Ping timeout: 258 seconds]
marinelli[m] has joined #ocaml
dhil has quit [Ping timeout: 265 seconds]
minwuekim has joined #ocaml