companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Tuplanolla has quit [Quit: Leaving.]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
Fardale1 has joined #ocaml
Fardale has quit [Ping timeout: 272 seconds]
reynir has quit [Ping timeout: 272 seconds]
reynir has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
reynir has quit [Ping timeout: 240 seconds]
reynir has joined #ocaml
Haudegen has quit [Ping timeout: 272 seconds]
mxns has joined #ocaml
reynir has quit [Remote host closed the connection]
reynir has joined #ocaml
jbrown has quit [Ping timeout: 272 seconds]
yomimono has quit [Ping timeout: 246 seconds]
yomimono has joined #ocaml
djellemah has quit [Ping timeout: 260 seconds]
nkly has quit [Ping timeout: 264 seconds]
nkly has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nkly has quit [Ping timeout: 258 seconds]
nkly has joined #ocaml
nkly has quit [Ping timeout: 240 seconds]
nkly has joined #ocaml
osa1 has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
decentpenguin has quit [Ping timeout: 265 seconds]
<d_bot> <beheddard> ok, so after much head banging, I have suspicions about what is going on...
<d_bot> <beheddard> Is it a known or expected thing that allocations with Ctypes need to be happening at the top level?
<d_bot> <beheddard> all of the testing functions are happening within closures, and they pretty well hang forever when ran. But if the same code is placed at the top level of a file and compiled to executable, or run in utop, they work just fine.
<d_bot> <beheddard> Do references to pointers need to exist on the toplevel in order to ensure that allocation actually happens, or to prevent the GC from destroying them? I would have though that any existing ocaml reference would be fine, even if it is within a scope below the top level. Anyway, am a bit confused and nothing I have turned up so far would have had me predict this
narimiran has joined #ocaml
decentpenguin has joined #ocaml
<Fardale1> @mbacarella I don't know
aaaaaa has quit [Quit: leaving]
narimiran has quit [Ping timeout: 256 seconds]
narimiran has joined #ocaml
yomimono has quit [Ping timeout: 260 seconds]
yomimono has joined #ocaml
decentpenguin has quit [Read error: Connection reset by peer]
amiloradovsky1 has joined #ocaml
amiloradovsky has quit [Ping timeout: 260 seconds]
amiloradovsky1 is now known as amiloradovsky
decentpenguin has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 240 seconds]
copy has quit [Ping timeout: 272 seconds]
mmohammadi9812 has joined #ocaml
copy has joined #ocaml
copy has quit [Ping timeout: 260 seconds]
copy has joined #ocaml
jgjl has quit [Quit: Lost terminal]
shmibs has quit [Quit: leaving =o]
shmibs has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 258 seconds]
mmohammadi9812 has joined #ocaml
reynir has quit [Ping timeout: 256 seconds]
reynir has joined #ocaml
vodkaInf1rno has joined #ocaml
vodkaInferno has quit [Read error: Connection reset by peer]
Tuplanolla has joined #ocaml
<d_bot> <khady> talking about better error messages, what happened to the work of Arthur Charguéraud? It has been totally abandonned?
reynir has quit [Ping timeout: 246 seconds]
reynir has joined #ocaml
olle has joined #ocaml
cantstanya has quit [Ping timeout: 240 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
reynir has quit [Ping timeout: 256 seconds]
reynir has joined #ocaml
cantstanya has joined #ocaml
<d_bot> <octachron> The small improvements have been integrated, the part that rely on a duplicated and partial typechecker are not really usable. Some of the idea might be revisited after the typechecker 2.0 but don't hold your breath on that.
Haudegen has joined #ocaml
reynir has quit [Ping timeout: 256 seconds]
reynir has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
reynir has quit [Ping timeout: 264 seconds]
reynir has joined #ocaml
bartholin has joined #ocaml
reynir has quit [Ping timeout: 258 seconds]
reynir has joined #ocaml
averell has quit [Quit: .]
averell has joined #ocaml
nkly has quit [Ping timeout: 260 seconds]
nkly has joined #ocaml
yomimono_ has joined #ocaml
yomimono has quit [Ping timeout: 240 seconds]
reynir has quit [Ping timeout: 246 seconds]
reynir has joined #ocaml
nkly has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
nkly has joined #ocaml
reynir has quit [Remote host closed the connection]
reynir has joined #ocaml
jbrown has joined #ocaml
djellemah has joined #ocaml
ggole has joined #ocaml
mxns has joined #ocaml
ransom has joined #ocaml
Fardale1 is now known as Fardale
FreeBirdLjj has joined #ocaml
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
<cemerick> I was surprised that I needed to eta-expand `is_b` here: https://gist.github.com/cemerick/f674e46b149ea7f90a23154d2b200f52
<cemerick> (`%>` is the usual compose operator BTW)
<cemerick> the domain of `is_a` is known and closed, so I expected the same to be inferred for `is_b`
<d_bot> <Drup> `#a` is equal to ``[< `A]``
<d_bot> <Drup> so there is some polymorphism hidden there
<companion_cube> hmm, is `#a` like `<A` in contravariant position, and `>A` in covariant positions?
<d_bot> <Drup> you could say it like that
<d_bot> <Drup> Actually, `#a` in pattern is always going to be in negative position, so the question is moot
<companion_cube> but in type definitions it can be in positive position
<cemerick> Drup: it's a _silly_ sort of polymorphism though, at least as far as what `is_a` accepts
<cemerick> i.e. if I declare it like `is_a : [`A | `B] -> bool`, then the nominal polymorphism is waved away, and `is_b` is accepted as-is
<d_bot> <Drup> *shrug*
<cemerick> likewise, I guess
<d_bot> <Drup> It's the one that accepts most valid programs
hnOsmium0001 has joined #ocaml
<d_bot> <Drup> the value restriction issue is only going to trigger at module boundary
Khady has joined #ocaml
ransom has joined #ocaml
motherfsck has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
osa1 has quit [Remote host closed the connection]
nullcone has joined #ocaml
olle has quit [Ping timeout: 256 seconds]
def has quit [Remote host closed the connection]
FreeBird_ has joined #ocaml
def has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
motherfsck has quit [Quit: quit]
tane has joined #ocaml
aaaaaa has joined #ocaml
def has quit [Quit: leaving]
def has joined #ocaml
bartholin has quit [Remote host closed the connection]
hockpa2e has joined #ocaml
zolk3ri has joined #ocaml
yomimono has joined #ocaml
yomimono_ has quit [Ping timeout: 240 seconds]
<hockpa2e> Just curious, why does the coerce-to-supertype operator :> point in the opposite direction to what the subtype relation <: would be? I guess you could say it's like an arrow pointing in the direction of the coercion, but is there a theoretical meaning to it?
<companion_cube> maybe it's a parsing matter
<hockpa2e> good point, companion_cube, I never thought of that
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
berberman_ has quit [Ping timeout: 240 seconds]
berberman has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
ggole has quit [Quit: Leaving]
mmohammadi9812 has quit [Read error: Connection reset by peer]
hockpa2e has quit [Quit: Leaving]
mmohammadi9812 has joined #ocaml
mfp has joined #ocaml
emp has quit [Remote host closed the connection]
mxns has joined #ocaml
emp has joined #ocaml
tane has quit [Ping timeout: 256 seconds]
narimiran has quit [Quit: leaving]
Anarchos has joined #ocaml
jnavila has joined #ocaml
tane has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
jnavila has quit [Quit: Konversation terminated!]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmohammadi9812 has quit [Remote host closed the connection]
mmohammadi9812 has joined #ocaml
mmohammadi9812 has quit [Quit: Quit]
Serpent7776 has quit [Quit: leaving]
mmohammadi9812 has joined #ocaml
mmohammadi9812 has quit [Client Quit]
mmohammadi9812 has joined #ocaml
tane has quit [Quit: Leaving]
ransom has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
Tuplanolla has quit [Ping timeout: 258 seconds]