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/
xd1le has quit [Quit: xd1le]
uncomfy has joined #ocaml
Tuplanolla has quit [Ping timeout: 244 seconds]
azimut has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
waleee has quit [Ping timeout: 250 seconds]
chrisz has quit [Ping timeout: 245 seconds]
chrisz has joined #ocaml
hsw has quit [Quit: Leaving]
spip has quit [Quit: Konversation terminated!]
Hammdist has quit [Quit: Client closed]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
Hammdist has joined #ocaml
Hammdist has quit [Quit: Client closed]
uncomfy has quit [Remote host closed the connection]
bgs has joined #ocaml
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
uncomfy has joined #ocaml
spip has joined #ocaml
bartholin has quit [Quit: Leaving]
mima has joined #ocaml
Hammdist has joined #ocaml
<Hammdist> I'm trying to understand what the OFFSETCLOSURE bytecode instruction does. first of all, I thought environment would always point to an object but here it seems to be used in an integer context? what does it "mean" to add some value to the environment?
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
dhil has joined #ocaml
noonien has joined #ocaml
uncomfy has quit [Ping timeout: 252 seconds]
azimut has quit [Ping timeout: 246 seconds]
tom1212 has joined #ocaml
<tom1212> hello! is an alias for a function inlined? ie: let foo = bar where bar is a function
<companion_cube> I think so yes
<tom1212> nice! thanks
tom1212 has quit [Remote host closed the connection]
tom1212 has joined #ocaml
kitzman has quit [Quit: C-x C-c]
kitzman has joined #ocaml
tom1212 has quit [Remote host closed the connection]
dhil has quit [Ping timeout: 252 seconds]
Hammdist has quit [Quit: Client closed]
Absalom has quit [Quit: Ping timeout (120 seconds)]
Absalom has joined #ocaml
tom1212 has joined #ocaml
<tom1212> hi! can someone explain please help to understand the idea of this technique? https://okmij.org/ftp/ML/first-class-modules/#generics
<tom1212> basically I don't understand the opening paragraph: " Generic programming in ML typically relies on the value representation of types. In most generic programming libraries so far the type representation was a collection of generic functions specialized for that particular type. First-class modules permit for the first time value-independent generic programming. "
random-jellyfish has joined #ocaml
azimut has joined #ocaml
<discocaml> <polytypic> This old paper might help: https://core.ac.uk/download/pdf/82308742.pdf
<discocaml> <deepspacejohn> I believe it means you normally have to represent each type with a different value, e.g. `int_to_string` and `float_to_string` etc. But with FCMs you can have a generic `to_string` that accepts a FCM.
azimut has quit [Ping timeout: 246 seconds]
random-jellyfish has quit [Quit: Client closed]
<tom1212> ah that's clearer now! thanks
Tuplanolla has joined #ocaml
dhil has joined #ocaml
tom1212 has quit [Remote host closed the connection]
bartholin has joined #ocaml
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
mal`` has quit [Ping timeout: 260 seconds]
<discocaml> <lukstafi> @Janni: This looks very concise! You can compare `ppx_log_calls` with https://github.com/lukstafi/ppx_minidebug . (I considered/tried uploadinig it to the opam repository but gave up for a silly reason: I use `sed` tests, and mostly redundantly because I also have `ppx_expect` tests.)
mal`` has joined #ocaml
Anarchos has joined #ocaml
mima has quit [Ping timeout: 246 seconds]
waleee has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
Anarchos has quit [Ping timeout: 246 seconds]
dhil has quit [Ping timeout: 246 seconds]
wingsorc has joined #ocaml
bgs has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 250 seconds]
Anarchos has joined #ocaml
mima has joined #ocaml
tjammer_ has joined #ocaml
tjammer has quit [Ping timeout: 245 seconds]
azimut has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]