companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
toastal has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 245 seconds]
nirvdrum7418 has joined #ocaml
nirvdrum741 has quit [Read error: Connection reset by peer]
nirvdrum7418 is now known as nirvdrum741
Mooncairn has quit [Quit: Quitting]
bibi__ has quit [Ping timeout: 260 seconds]
bibi__ has joined #ocaml
Frostillicus has joined #ocaml
<discocaml> <anishr> i am trying to get a better understanding of ocamls type inference algorithm; does anyone have any good resources?
<discocaml> <anishr> I was reading this but its not v self contained; i understand most of it but was looking for smth more self contained that i prob could learn more from
Frostillicus has quit [Ping timeout: 260 seconds]
<discocaml> <polyml> have you seen https://okmij.org/ftp/ML/generalization.html ?
wbooze has joined #ocaml
bartholin has joined #ocaml
toastal has left #ocaml [#ocaml]
mange has joined #ocaml
<discocaml> <lukstafi> Old but classic: https://caml.inria.fr/pub/docs/u3-ocaml/
<discocaml> <lukstafi> I don't remember seeing these, thanks for sharing
<discocaml> <lukstafi> Ah apologies, I responded without reading your question...
Serpent7776 has joined #ocaml
bartholin has quit [Remote host closed the connection]
Frostillicus has joined #ocaml
Haudegen has joined #ocaml
Humean has quit [Ping timeout: 248 seconds]
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
olle has joined #ocaml
humasect has joined #ocaml
iNomad has joined #ocaml
toastal has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Frostillicus has quit [Ping timeout: 265 seconds]
humasect has quit [Remote host closed the connection]
humasect has joined #ocaml
humasect has quit [Quit: Leaving...]
toastal has left #ocaml [#ocaml]
toastal has joined #ocaml
Frostillicus has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Frostillicus has quit [Ping timeout: 245 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
toastal has left #ocaml [#ocaml]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
toastal has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
humasect has joined #ocaml
johnridesabike has joined #ocaml
mange has quit [Quit: Zzz...]
Frostillicus has joined #ocaml
tronexte has quit [Ping timeout: 248 seconds]
tronexte has joined #ocaml
<leah2> can others connect to staging.ocaml.org ?
<wbooze> no
<wbooze> takes forever, so something is wrong
Frostillicus has quit [Ping timeout: 260 seconds]
olle has quit [Ping timeout: 260 seconds]
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
<discocaml> <_moorish> @bluddy5 listen son
wbooze has quit [Quit: Leaving]
inline has joined #ocaml
tomku has quit [Ping timeout: 248 seconds]
tomku has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
euphores has quit [Quit: Leaving.]
Anarchos has joined #ocaml
toastal has quit [Quit: Gateway shutdown]
euphores has joined #ocaml
Humean has joined #ocaml
reynir has joined #ocaml
reynir has quit [Ping timeout: 276 seconds]
humasect has quit [Quit: Leaving...]
YuGiOhJCJ has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
iNomad has quit [Quit: leaving]
szkl has quit [Quit: Connection closed for inactivity]
johnridesabike has quit [Quit: johnridesabike]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
Serpent7776 has quit [Ping timeout: 272 seconds]
Tuplanolla has joined #ocaml
Anish has joined #ocaml
<Anish> I have a question about principality that i came upon while reading real world ocaml
<Anish> why exactly is that example not in principal mode or whatever? What does it mean by subexpression order, and is there anywhere i can read more about this? thanks!
Anish has quit [Client Quit]
Anish has joined #ocaml
Frostillicus has joined #ocaml
Anish has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Frostillicus has quit [Ping timeout: 276 seconds]
<discocaml> <contificate> For that example, you can imagine that the compiler has an internal representation of `e ; e'` (don't need to imagine, though: `Pexp_sequence of expression * expression`). So the typing of the program shouldn't depend on what order `e` and `e'` are typed.
<discocaml> <contificate> For that specific example, if inference typed `e'` first in `e ; e'` instead of `e`, it'd assume the argument's type is `t`. Then, when checking `e`, would complain that `t` lacks the relevant field.
inline has quit [Quit: Leaving]
wbooze has joined #ocaml
inline has joined #ocaml
mange has joined #ocaml