companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Anarchos has joined #ocaml
Anarchos has quit [Ping timeout: 240 seconds]
Anarchos has joined #ocaml
Anarchos has quit [Ping timeout: 240 seconds]
h0rror has quit [Read error: Connection reset by peer]
h0rror has joined #ocaml
motherfsck has quit [Ping timeout: 265 seconds]
chrisz has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 264 seconds]
chrisz has joined #ocaml
spip has quit [Quit: Konversation terminated!]
Haudegen has joined #ocaml
bartholin has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
bgs has joined #ocaml
bartholin has quit [Quit: Leaving]
bgs has quit [Remote host closed the connection]
neiluj has joined #ocaml
Serpent7776 has joined #ocaml
olle has joined #ocaml
neiluj has quit [Quit: WeeChat 3.7.1]
Techcable has quit [Ping timeout: 250 seconds]
Techcable has joined #ocaml
Techcable has quit [Read error: Connection reset by peer]
m5zs7k has quit [Ping timeout: 240 seconds]
Techcable has joined #ocaml
m5zs7k has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
chrisz has quit [Ping timeout: 265 seconds]
chrisz has joined #ocaml
spip has joined #ocaml
<discocaml> <sim642> Oh god, `Pervasives.Exit` isn't an alias for `Stdlib.Exit`, but they are distinct
Anarchos has joined #ocaml
alexherbo2 has joined #ocaml
Anarchos has quit [Ping timeout: 256 seconds]
wingsorc__ has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
xd1le has joined #ocaml
hsw has joined #ocaml
Techcable has quit [Ping timeout: 240 seconds]
Techcable has joined #ocaml
azimut has joined #ocaml
neiluj has joined #ocaml
<neiluj> hi!
<neiluj> seems like you cannot let a variable have a module type's type as type: val a : M_sig.t;
<neiluj> actually its a field in a record
<adrien> could you show/pastebin the corresponding code?
<neiluj> sure! many thanks for helping with this stuff! its a bit big though so I'll strip a bit the code
<neiluj> you then build a tree with a functor
<neiluj> to choose the type of elements it holds
azimut_ has joined #ocaml
azimut has quit [Remote host closed the connection]
Haudegen has quit [Quit: Bin weg.]
<neiluj> oh just define a module of the desired module type and then refer to the type of the module
Serpent7776 has quit [Read error: Connection reset by peer]
<Leonidas> Is there a nice way to include additional values in a module that is restricted by a signature?
<Leonidas> (the module sig is required for a functor, so I can't just add the value to the signature)
<neiluj> add an extra arg to the functor with the additional values?
<Leonidas> but then I can't look into the implementation of the module that I'm passing as the argument to the functor
Serpent7776 has joined #ocaml
<discocaml> <Bluddy> No. Modules restricted to signatures are impenetrable beyond what's exported in the signature.
<Leonidas> I tried declaring the module as module Argument : sig include S val foo : int = struct ... end but this tells me somehow that the values in S are required but not provided
<discocaml> <darrenldl> when you have write `type`, do people tend to use `type_` or `typ`?
<discocaml> <Le condor du plateau> I see more often `typ`
<discocaml> <darrenldl> i see, thanks!
<companion_cube> I use either ty or type_
Techcable has quit [Ping timeout: 240 seconds]
<Leonidas> Perfect occasion to start a 4th convention
Anarchos has joined #ocaml
Haudegen has joined #ocaml
<reynir> is opam.ocaml.org down on ipv6?
Techcable has joined #ocaml
<discocaml> <darrenldl> ty, typ, type_, we've come full circle
waleee has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 265 seconds]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Serpent7776 has quit [Quit: WeeChat 1.9.1]
dhil has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
sagax has joined #ocaml
motherfsck has joined #ocaml
azimut_ has quit [Remote host closed the connection]
azimut has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
xd1le has quit [Quit: xd1le]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
neiluj has quit [Quit: WeeChat 3.7.1]
waleee has joined #ocaml
Haudegen has joined #ocaml
motherfsck has quit [Quit: quit]
mbuf has joined #ocaml
<discocaml> <∆V> which channel should i use for asking a question regarding OCaml's runtime?
<discocaml> <∆V> about the gc and heaps and whatnot
jmiven has joined #ocaml
jmiven has quit [Client Quit]
jmiven has joined #ocaml
<theblatte> ΔV: here's fine (and bridged to the IRC channel)
mbuf has quit [Quit: Leaving]
jmiven has quit [Client Quit]
jmiven has joined #ocaml
<discocaml> <∆V> i just wanted to confirm how ocaml's gc finds the roots to scan during the mark phase of the gc
<discocaml> <∆V> apart from the globals, the runtime keeps its own stack right?
<discocaml> <∆V> which it can just iterate over to mark them and their "children"
<discocaml> <∆V> and is it right that the minor heap is just an array of `value`'s (as defined in `mlvalues.h`)?
<discocaml> <∆V> bc i assumed that blocks with opaque data instead of "normal" fields also live in that stack
<discocaml> <∆V> but their data isn't an array of `value`'s
<discocaml> <∆V> so is that just fixed by padding the data?
<discocaml> <arbipher> Is the official doc website down? (The overview page is fine but the doc page is error 500) e.g.
<discocaml> <∆V> I can't open it either
<discocaml> <Bluddy> works for me
<discocaml> <∆V> Weird
<discocaml> <arbipher> I am at US east.
<discocaml> <arbipher> May I ask about how I can view/generate doc locally for opam packages?
<discocaml> <Kali> you can install the `odoc` package
<discocaml> <arbipher> installed.
<discocaml> <Kali> oops, i meant `odig` (which relies on `odoc`)
<discocaml> <Kali> then you can run `odig doc [package]`
<discocaml> <Kali> and it will open local documentation in your browser
<discocaml> <arbipher> It works. Thank you!
<discocaml> <arbipher> The concept of doc tools is not very clear in my mind.
<discocaml> <arbipher> `odoc` is a doc generator and `ocamldoc` is also a doc generator, so can I think `odoc` as a modern alternative?
alexherbo2 has quit [Ping timeout: 245 seconds]
<discocaml> <arbipher> I see.
wingsorc__ has joined #ocaml
bartholin has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
olle has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
megeve is now known as delyan
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
Tuplanolla has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
Haudegen has quit [Ping timeout: 246 seconds]