<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";;`
<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
<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?
<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>
<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 🤯