Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
jabuxas has quit [Ping timeout: 260 seconds]
gzar has quit [Quit: WeeChat 4.2.2]
waleee has quit [Ping timeout: 246 seconds]
<anadon> I'm having some trouble getting a both installed and not installed library to pick being one of those things. https://paste.debian.net/1317292/ What might I be doing wrong?
<discocaml> <yawaramin> what is the output of `opam list | grep morbig`?
<anadon> `morbig 0.11.0 A trustworthy parser for POSIX shell`
ocra8_ has joined #ocaml
kurfen has joined #ocaml
ocra8 has quit [*.net *.split]
kurfen_ has quit [*.net *.split]
theblatte has quit [*.net *.split]
myrkraverk has quit [Remote host closed the connection]
myrkraverk has joined #ocaml
theblatte has joined #ocaml
rustyne_ has joined #ocaml
copy_ has joined #ocaml
myrkraverk_ has joined #ocaml
cr1901_ has joined #ocaml
myrkraverk has quit [Remote host closed the connection]
thizanne` has joined #ocaml
pgiarrusso_ has joined #ocaml
dme2_ has joined #ocaml
jyc_ has joined #ocaml
kuruczgy_ has joined #ocaml
rustyne has quit [Ping timeout: 240 seconds]
_alix has quit [Ping timeout: 240 seconds]
copy has quit [Ping timeout: 240 seconds]
rustyne_ is now known as rustyne
palainp_ has joined #ocaml
Ankhers_ has joined #ocaml
jmcantrell_ has joined #ocaml
remexre_ has joined #ocaml
bibi__ has joined #ocaml
SquidDev3 has joined #ocaml
immutable_ has joined #ocaml
ansiwen_ has joined #ocaml
ursa-major_ has joined #ocaml
johnel_ has joined #ocaml
whereiseveryone_ has joined #ocaml
brettgilio_ has joined #ocaml
henrytill_ has joined #ocaml
pluviaq_ has joined #ocaml
Exagone313 has joined #ocaml
Boarders_____ has joined #ocaml
oisota5 has joined #ocaml
seeg_ has joined #ocaml
rak_ has joined #ocaml
cr1901 has quit [*.net *.split]
ansiwen has quit [*.net *.split]
jiquiame has quit [*.net *.split]
chrisz has quit [*.net *.split]
Exa has quit [*.net *.split]
pieguy128 has quit [*.net *.split]
oisota has quit [*.net *.split]
oisota5 is now known as oisota
Exagone313 is now known as Exa
pluviaq has quit [*.net *.split]
henrytill has quit [*.net *.split]
kuruczgy has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
Ankhers has quit [*.net *.split]
ursa-major has quit [*.net *.split]
whereiseveryone has quit [*.net *.split]
pgiarrusso has quit [*.net *.split]
Boarders____ has quit [*.net *.split]
Duns_Scrotus____ has quit [*.net *.split]
jyc has quit [*.net *.split]
brettgilio has quit [*.net *.split]
seeg has quit [*.net *.split]
immutable has quit [*.net *.split]
SquidDev has quit [*.net *.split]
remexre has quit [*.net *.split]
bibi_ has quit [*.net *.split]
rak has quit [*.net *.split]
bcksl has quit [*.net *.split]
Ekho has quit [*.net *.split]
thizanne has quit [*.net *.split]
dme2 has quit [*.net *.split]
palainp has quit [*.net *.split]
johnel has quit [*.net *.split]
kuruczgy_ is now known as kuruczgy
Ankhers_ is now known as Ankhers
patrick_ is now known as patrick
henrytill_ is now known as henrytill
pluviaq_ is now known as pluviaq
seeg_ is now known as seeg
SquidDev3 is now known as SquidDev
pgiarrusso_ is now known as pgiarrusso
jyc_ is now known as jyc
remexre_ is now known as remexre
jmcantrell_ is now known as jmcantrell
brettgilio_ is now known as brettgilio
ursa-major_ is now known as ursa-major
whereiseveryone_ is now known as whereiseveryone
Duns_Scrotus____ has joined #ocaml
_alix has joined #ocaml
chrisz has joined #ocaml
jiquiame has joined #ocaml
pieguy128 has joined #ocaml
<discocaml> <bjonah> (I wrote DkML). Your problem looks like `dkml` is an old version of DkML. New versions use a `DkML Native` folder. Can you point me to which website gave you that old dkml binary? (I need to fix the instructions on it) // If you are still having problems, can you follow the upgrade steps in https://gitlab.com/dkml/distributions/dkml/-/releases#upgrading-from-versions-earlier-than-210 ? And to not waste time ... add a step between step3 and step
chrisz_ has joined #ocaml
chrisz has quit [Remote host closed the connection]
bcksl has joined #ocaml
Ekho has joined #ocaml
pieguy128 has quit [Max SendQ exceeded]
mbuf has joined #ocaml
pieguy128 has joined #ocaml
Serpent7776 has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
Tuplanolla has joined #ocaml
palainp_ has quit [Changing host]
palainp_ has joined #ocaml
Serpent7776 has joined #ocaml
<discocaml> <las0> I heard that ReasonML has alternatives wrt. JS-like syntax for OCaml. Is this true and if so which?
bartholin has joined #ocaml
<discocaml> <deepspacejohn> ReasonML is an alternative syntax that’s supposed to look like JavaScript, yes.
<discocaml> <las0> Are there any others?
waleee has joined #ocaml
<discocaml> <deepspacejohn> I’m not aware of any other alternative syntaxes for OCaml.
<discocaml> <las0> Thanks
<discocaml> <lukstafi> There used to be another alternative syntax: https://caml.inria.fr/pub/docs/manual-camlp4/manual007.html
myrkraverk_ has quit [Remote host closed the connection]
jabuxas has joined #ocaml
myrkraverk_ has joined #ocaml
<discocaml> <lukstafi> And there's ReScript that's an alternative to ReasonML, but it's not an alternative syntax for OCaml. (It's a separate language that borrowed from OCaml.)
<discocaml> <las0> Thanks, I’m just looking for an alternative syntax to make it easier for JS-brained people to use an OCaml library.
waleee has quit [Ping timeout: 240 seconds]
<discocaml> <holmdunc> Surely they'd be 10x more receptive if you wrote an actual JS wrapper around it yourself
<discocaml> <holmdunc> Surely they'd be 10x more receptive if you wrote an actual JS wrapper around it yourself.
<discocaml> <holmdunc> Or maybe I've got the wrong end of the stick and you're not in a compile-to-JS context.
<discocaml> <holmdunc> Surely they'd be 10x more receptive if you wrote an actual JS wrapper around it yourself.
<discocaml> <holmdunc> Or maybe I've got the wrong end of the stick and you're not working in a compile-to-JS context.
myrkraverk__ has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
myrkraverk_ has quit [Ping timeout: 264 seconds]
<discocaml> <limp.biskit> personally i avoid alternative syntaxes so my brain can switch into ocaml mode
waleee has joined #ocaml
bartholin has quit [Quit: Leaving]
wingsorc has quit [Quit: Leaving]
jabuxas has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
chiselfuse has joined #ocaml
gzar has joined #ocaml
<anadon> Can someone explain this? I'm losing my mind trying to figure out why this library isn't being recognized.
Serpent7776 has quit [Ping timeout: 240 seconds]
<discocaml> <leviroth> anadon: I suspect something is messed up with how this library is packaged
<discocaml> <yawaramin> did you run `eval $(opam env)` in the terminal first?
mbuf has quit [Quit: Leaving]
waleee has joined #ocaml
<anadon> Yes
<discocaml> <yawaramin> are you on the latest available opam and dune versions?
<anadon> Yes
<anadon> Started this project directly off the Ocaml main site's "Getting Started" section.
<anadon> Another module, Pcre, works as expected.
<discocaml> <leviroth> I don't think this is an issue with opam setup. I can reproduce this on my own, definitely functional opam installation.
<discocaml> <leviroth> It's not actually installing any findlib package
<anadon> I'll add it to the Github issue. And idea what I might to do fix it on my own?
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
<discocaml> <yawaramin> you can vendor it in your project directly. dune supports vendoring since it's designed to be very modular
<discocaml> <yawaramin> yeah that's a little added support but even if you didn't do that, you could still vendor and use the library
<anadon> Docs?
<discocaml> <yawaramin> git clone the morbig repo inside your project, voila it's now vendored and you can refer to it in your project dune files
<anadon> Thanks!
<discocaml> <limp.biskit> what are the common ways to provide a 'core' and 'implementation' split?
<discocaml> <limp.biskit> specifically i am trying to make a library portable across schedulers
<discocaml> <yawaramin> classic way is functors
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
bartholin has quit [Quit: Leaving]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
<discocaml> <anmonteiro> if you can live with abstract types, dune virtual libraries are very good for this use case
chiselfu1e has joined #ocaml
chiselfuse has quit [Ping timeout: 260 seconds]
<discocaml> <limp.biskit> interesting!
chiselfu1e has quit [Remote host closed the connection]
chiselfuse has joined #ocaml