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/
waleee has quit [Ping timeout: 260 seconds]
<dmbaturin> reynir: With NPM packages, most install counts obviously come from CI jobs and nobody cares. ;)
<dmbaturin> Rather, being used in many CI jobs is also an indicator of active use, for a quick "will I be alone using this lib" guess.
Haudegen has quit [Ping timeout: 264 seconds]
cbarrett has quit [Ping timeout: 258 seconds]
JSharp has quit [Ping timeout: 245 seconds]
jyc has quit [Read error: Connection reset by peer]
caasih has quit [Read error: Connection reset by peer]
cbarrett has joined #ocaml
cemerick has quit [Ping timeout: 245 seconds]
cemerick has joined #ocaml
jyc has joined #ocaml
caasih has joined #ocaml
caasih has quit [Ping timeout: 258 seconds]
jyc has quit [Ping timeout: 258 seconds]
jyc has joined #ocaml
JSharp has joined #ocaml
caasih has joined #ocaml
bobo has quit [Ping timeout: 260 seconds]
dwt_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
zebrag has quit [Quit: Konversation terminated!]
dwt_ has joined #ocaml
bobo has joined #ocaml
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #ocaml
mro has joined #ocaml
hendursa1 has joined #ocaml
hendursaga has quit [Ping timeout: 276 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #ocaml
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Serpent7776 has joined #ocaml
nfc_ has quit [Ping timeout: 258 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #ocaml
bartholin has quit [Ping timeout: 244 seconds]
nfc_ has joined #ocaml
bartholin has joined #ocaml
salkin has joined #ocaml
spip has joined #ocaml
bobo has quit [Ping timeout: 258 seconds]
elge has joined #ocaml
salkin has quit [Quit: salkin]
<elge> meow maw. I need to build Coccinelle for building DRBD
salkin has joined #ocaml
<elge> I installed many many deps and got the thing almost ready to build, but...
<d_bot> <Continuation Calculus> i might be stupid
<d_bot> <Continuation Calculus> but i can't seem to find actual ocamllex docs
<d_bot> <Continuation Calculus> i always get linked to tutorials or whatever
<d_bot> <Continuation Calculus> are there online html ocamllex docs somewhere?
<elge> I installed latest Ocaml version 4.13.1 -- can anybody please have a look at the build log and tell me what's going wrong?
cross has quit [Ping timeout: 245 seconds]
lyiriyah has joined #ocaml
cross has joined #ocaml
<lyiriyah> Hi, I'm having an issue installing base. I've installed it through opam but I get an unbound module error when I run `open Base;;` in utop or the included interpreter
<lyiriyah> I'm using OCaml 4.12.0 and base 0.14.1
<Fardale> you need to include it. The easiest way is to use ocamlfind to do the job for you. First to load it you do `#use "topfind";;` and then you can use `#require "base";;`
<lyiriyah> Thanks, that worked!
<d_bot> <andreypopp> https://ocaml.org/manual/lexyacc.html I think this is the docs for ocamllex
<d_bot> <Continuation Calculus> Only an overview, some grammar and some common errors
<d_bot> <Continuation Calculus> I found https://ocaml.org/api/Lexing.html, which features a little more
bartholin has quit [Ping timeout: 244 seconds]
<d_bot> <andreypopp> Also RWO have a chapter dedicated to lexing— https://dev.realworldocaml.org/parsing-with-ocamllex-and-menhir.html#defining-a-lexer
Haudegen has joined #ocaml
<d_bot> <Continuation Calculus> > but i can't seem to find actual ocamllex docs
<d_bot> <Continuation Calculus> > i always get linked to tutorials or whatever
<d_bot> <Continuation Calculus> it's unfortunately very superficial, as are most tutorials and "quickstarts"
<d_bot> <Continuation Calculus> which is why i want an actual man / docs
<d_bot> <andreypopp> The first link I posted is the manual. I’m now aware of anything else unfortunately
<d_bot> <Deadrat> Aye try using sedlex?
lyiriyah has quit [Quit: Client closed]
<d_bot> <Continuation Calculus> oof
<d_bot> <Continuation Calculus> In that case, if someone has an example of a lexer with its own lexing loop, unrelated to menhir/yacc/whatever, i'd be interested
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
<d_bot> <Continuation Calculus> (if anyone is interested: https://pastebin.com/VhXsjk0S )
wyrd has quit [Ping timeout: 276 seconds]
mro has joined #ocaml
mro has quit [Ping timeout: 258 seconds]
mro has joined #ocaml
rond_ has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
mro has quit [Ping timeout: 265 seconds]
mro has joined #ocaml
bartholin has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
<elge> ok I am going through opam now and it seems to be more convenient to install coccinelle nowadays
olle has joined #ocaml
gravicappa has joined #ocaml
bartholin has quit [Ping timeout: 265 seconds]
bartholin has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
bartholin has quit [Ping timeout: 244 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Ping timeout: 258 seconds]
mro has joined #ocaml
salkin has quit [Ping timeout: 244 seconds]
<d_bot> <andreypopp> apparently if you make a record with mutable fields private you cannot re-assign those mutable fields...
<d_bot> <andreypopp> I thought private only prevents from constructing a value of the type
<d_bot> <leviroth> "Moreover, assignment on a mutable field of a private record type is not allowed." https://ocaml.org/manual/privatetypes.html#ss%3Aprivate-types-variant
<companion_cube> You can mutate from inside the module
<companion_cube> It's very convenient
<d_bot> <froyo> I think of `private` as `readonly`
<d_bot> <froyo> i mean outside of the respective module of course
rgrinberg has joined #ocaml
<d_bot> <andreypopp> yeah, it's just "construction"-related invariants and "mutability"-related invariants could be different invariants. But anyway, can just expose a function to mutate through interface.
<companion_cube> which is the whole point
<companion_cube> since that function can enforce invariants
<d_bot> <andreypopp> agreed
spip has quit [Quit: Konversation terminated!]
salkin has joined #ocaml
waleee has quit [Ping timeout: 258 seconds]
waleee has joined #ocaml
wwilly has quit [Ping timeout: 260 seconds]
wwilly has joined #ocaml
schube[m] has quit [Quit: You have been kicked for being idle]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
gravicappa has joined #ocaml
famubu has joined #ocaml
<famubu> What are .mlg files used for in ocaml?
<famubu> Saw in a github issue that it is used to specify grammar for a parser. But what kind of parser?
mro has quit [Quit: Leaving...]
spip has joined #ocaml
<d_bot> <Continuation Calculus> What are the best ways to profile OCaml programs nowadays? Google says compiling in debug mode + perf, is that correct?
bartholin has joined #ocaml
famubu has quit [Ping timeout: 252 seconds]
famubu has joined #ocaml
spip has quit [Quit: Konversation terminated!]
gravicappa has quit [Ping timeout: 264 seconds]
rond_ has quit [Quit: Client closed]
omni has joined #ocaml
hyphen has quit [Ping timeout: 264 seconds]
hyphen has joined #ocaml
<omni> we're having issues packaging opam for alpine https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26645
spip has joined #ocaml
average has joined #ocaml
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
<d_bot> <undu> ```
<d_bot> <undu> ```
<d_bot> <undu> That server is permanently down, not sure how to get that updated, I know @mseri fights that
hackinghorn has joined #ocaml
bartholin has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
famubu has quit [Quit: leaving]
bartholin has joined #ocaml
hyphen has quit [Ping timeout: 244 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 244 seconds]
hyphen has joined #ocaml
<d_bot> <Et7f3> @mseri or @mseri If you want to rebuild cudf tarball I have cloned it at some point https://github.com/Et7f3/cudf (just remove top commit)
<d_bot> <Et7f3> (oops I have forgotten to update .gitignore)
<d_bot> <Et7f3> a patched version with dune is also available on duniverse https://github.com/dune-universe/opam-overlays.git
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 245 seconds]
<d_bot> <RegularSpatula> You can use callgrind/cachegrind
waleee has joined #ocaml
bartholin has quit [Ping timeout: 244 seconds]
bartholin has joined #ocaml
Serpent7776 has quit [Quit: leaving]
bartholin has quit [Quit: Leaving]
cedric has joined #ocaml
<reynir> I don't like that there's no comment on why the checksum is different :/
<d_bot> <undu> yeah...
salkin has quit [Ping timeout: 244 seconds]
<d_bot> <copy> perf with `--call-graph=dwarf` or `--call-graph=fp` (in an opam switch with ocaml-option-fp), run `perf script -F +pid > perf.script` and open the resulting file at https://profiler.firefox.com for a decent UI
cedric has quit [Quit: Konversation terminated!]
Haudegen has quit [Remote host closed the connection]
oriba has joined #ocaml
<d_bot> <mbacarella> I was not aware of this frame pointer option 🤯
<d_bot> <mbacarella>
<d_bot> <ams> anyone know if typescript would be an anjoyable language for ocaml fans
<d_bot> <ams> apparently they have records and variant types but idk how nice it is overall
olle has quit [Ping timeout: 264 seconds]