warriors has quit [Quit: Connection closed for inactivity]
toppler has joined #ocaml
AtumT has quit [Quit: AtumT]
olle has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 265 seconds]
olle has joined #ocaml
nullifidian_ has joined #ocaml
toppler has joined #ocaml
nullifidian has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
Haudegen has joined #ocaml
vicfred has joined #ocaml
toppler has joined #ocaml
tormen_ has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
tormen has quit [Ping timeout: 268 seconds]
vicfred has quit [Quit: Leaving]
analogue has joined #ocaml
toppler has joined #ocaml
jmiven has joined #ocaml
warriors has joined #ocaml
analogue has quit [Quit: Leaving]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
jmiven has quit [Quit: bye]
mfp has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 246 seconds]
toppler has joined #ocaml
jmiven has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
nullifidian_ is now known as nullifidian
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
tizoc has quit [Quit: Coyote finally caught me]
toppler has joined #ocaml
tizoc has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
Jeanne-Kamikaze has joined #ocaml
gravicappa has joined #ocaml
toppler has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
_whitelogger has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
<xvilka>
why there is no Int.of_string_opt? Only for Int32 and Int64?
toppler has joined #ocaml
warriors has quit []
malina has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
Jeanne-Kamikaze has quit [Quit: Leaving]
toppler has joined #ocaml
mbuf has joined #ocaml
toppler has quit [Ping timeout: 250 seconds]
gravicappa has quit [Ping timeout: 265 seconds]
bitwinery has quit [Quit: Leaving]
toppler has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
brillenfux has joined #ocaml
toppler has quit [Ping timeout: 246 seconds]
Serpent7776 has joined #ocaml
toppler has joined #ocaml
bartholin has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
nullifidian_ has joined #ocaml
toppler has joined #ocaml
nullifidian has quit [Ping timeout: 240 seconds]
nullifidian_ is now known as nullifidian
orbifx has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
gravicappa has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
jaar_ has joined #ocaml
kjak has quit [Remote host closed the connection]
jerith has joined #ocaml
jaar_ has quit [Remote host closed the connection]
jaar_ has joined #ocaml
<_y>
xvilka, there is Stdlib.int_of_string_opt (since 4.05)
mfp has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
orbifx has quit [Quit: WeeChat 2.5]
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
malina has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
<xvilka>
_y: yeah, found out, was just curious about Int module
jaar_ has quit [Ping timeout: 252 seconds]
toppler has joined #ocaml
tane has joined #ocaml
AtumT has joined #ocaml
jaar_ has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
malina has joined #ocaml
toppler has joined #ocaml
kakadu has quit [Ping timeout: 265 seconds]
jao has joined #ocaml
kalio has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 245 seconds]
<_y>
it should probably be aliased from module Int indeed
toppler has joined #ocaml
kalio has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
spew has joined #ocaml
kjak has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
warriors has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
gareppa has joined #ocaml
FreeBirdLjj has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
Haudegen has quit [Quit: Bin weg.]
q9929t has joined #ocaml
toppler has joined #ocaml
q9929t has quit [Quit: q9929t]
toppler has quit [Ping timeout: 246 seconds]
ygrek has joined #ocaml
brillenfux has quit [Ping timeout: 265 seconds]
toppler has joined #ocaml
smazga has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
ygrek has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
toppler has joined #ocaml
Serpent7776 has quit [Quit: Leaving]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
Haudegen has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 240 seconds]
q9929t has joined #ocaml
toppler has joined #ocaml
leah2 has quit [Ping timeout: 250 seconds]
leah2 has joined #ocaml
q9929t has quit [Quit: q9929t]
Haudegen has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
gareppa has quit [Quit: Leaving]
toppler has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
mfp has joined #ocaml
<mbuf>
I am trying the code in Chapter 5. "Streams of Bits" from More OCaml, and I am not getting any output from output_header. What am I missing? https://pastebin.com/C3zNuJmN
Haudegen has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
malina has quit [Remote host closed the connection]
toppler has joined #ocaml
ziyourenxiang_ has quit [Ping timeout: 240 seconds]
gareppa has joined #ocaml
silver has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
vicfred has joined #ocaml
mbuf has quit [Quit: Leaving]
toppler has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
gareppa has quit [Quit: Leaving]
bitwinery has joined #ocaml
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ocaml
unyu has quit [Quit: ERC (IRC client for Emacs 26.3)]
smazga has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
smazga has quit [Ping timeout: 265 seconds]
toppler has joined #ocaml
jaar_ has quit [Ping timeout: 265 seconds]
malina has joined #ocaml
Serpent7776 has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 250 seconds]
Anarchos has joined #ocaml
toppler has joined #ocaml
kakadu has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
<kakadu>
Folks, where can I read more precisely about closure representation in memory (except the source code)?
<kakadu>
Or have you seen any hash-consing library that memoizes function applications?
<companion_cube>
😱
toppler has quit [Ping timeout: 240 seconds]
<kakadu>
memoization of high-order functions is painful, yes
toppler has joined #ocaml
<companion_cube>
(I'd say, just don't :p)
<Anarchos>
kakadu there are two pointers : one to code, one to the frozen environment
Haudegen has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 265 seconds]
<kakadu>
Anarchos: nothing about arguments?
gareppa has joined #ocaml
toppler has joined #ocaml
mfp has joined #ocaml
gravicappa has quit [Ping timeout: 276 seconds]
gareppa has quit [Quit: Leaving]
toppler has quit [Ping timeout: 240 seconds]
ggole has quit [Quit: Leaving]
toppler has joined #ocaml
malina has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #ocaml
Serpent7776 has quit [Quit: leaving]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #ocaml
tane has quit [Quit: Leaving]
<zozozo>
kakadu: I'm not aware of any detailed written documentation (I usually ask the people around me when I need information about that). Also note that representation of mutually recursive closures might be about to change. However, of you really want to look at it, you can read the inspection code I wrote there https://github.com/Gbury/ocaml-memgraph/blob/5370806c5977b1df1eb21e99060fbec5dc4d2871/src/repr.ml#L120
<kakadu>
zozozo: Was Infix_tag designed for some kind of partial application optimization or something?
toppler has quit [Ping timeout: 265 seconds]
<kakadu>
It's sad that Infix_tag is not mentioned in manual
smazga has joined #ocaml
<zozozo>
kakadu: the infix tag is there so that a set of mutually recursive functions are compiled into a single memory block, with reach function in a sub-block that starts with an infix_tag, which makes the header word look like a tagged integer to the gc when scanning
<kakadu>
Does `compiled into single memory block` means that all functions have single code pointer?
<kakadu>
it seems so
Haudegen has joined #ocaml
unyu has joined #ocaml
smazga has quit [Ping timeout: 268 seconds]
<zozozo>
Not really
<zozozo>
They all point at different places inside the same ocaml block
<DanC>
I'm interested to get a feel for rhythms in the ocaml community...
<DanC>
For example, what's a reasonable expectation for when/if 4.09 support in merlin will be merged and released to opam? https://github.com/ocaml/merlin/pull/1031