Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
farn has quit [Ping timeout: 240 seconds]
farn has joined #ocaml
Everything has quit [Quit: leaving]
Tuplanolla has quit [Quit: Leaving.]
x88x88x has joined #ocaml
Techcable has quit [Quit: ZNC - https://znc.in]
Techcable has joined #ocaml
Colt has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Colt has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
vicfred has joined #ocaml
mbuf has joined #ocaml
vicfred has quit [Quit: Leaving]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
xd1le has joined #ocaml
vicfred has joined #ocaml
ralu has quit [Ping timeout: 268 seconds]
<d_bot> <minimario> ooh this looks cool
vicfred has quit [Quit: Leaving]
vicfred has joined #ocaml
ralu has joined #ocaml
vicfred has quit [Quit: Leaving]
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
gravicappa has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vicfred has joined #ocaml
x88x88x has quit [Ping timeout: 240 seconds]
x88x88x has joined #ocaml
spip has joined #ocaml
Guest7802 has quit [Ping timeout: 240 seconds]
spip is now known as Guest2718
shawnw has joined #ocaml
Tuplanolla has joined #ocaml
Haudegen has joined #ocaml
bartholin has joined #ocaml
hackinghorn has quit [Read error: Connection reset by peer]
hackinghorn has joined #ocaml
xiongxin has joined #ocaml
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
xd1le has quit [Quit: xd1le]
waleee has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
gravicappa has joined #ocaml
kakadu has quit [Remote host closed the connection]
<dmbaturin> Has anyone successfully compiled ocaml-text on Windows?
shawnw has quit [Ping timeout: 240 seconds]
xiongxin has quit [Remote host closed the connection]
mbuf has quit [Quit: Leaving]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
vicfred has quit [Quit: Leaving]
jlrnick has joined #ocaml
spip has joined #ocaml
Guest2718 has quit [Ping timeout: 240 seconds]
spip is now known as Guest8168
jlrnick has quit [Ping timeout: 245 seconds]
vicfred has joined #ocaml
gravicappa has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
Everything has joined #ocaml
Techcable has quit [Quit: ZNC - https://znc.in]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
hackinghorn has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
mro has joined #ocaml
vicfred has quit [Quit: Leaving]
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
zebrag has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
mro has quit [Quit: Leaving...]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hackinghorn has joined #ocaml
bartholin has quit [Quit: Leaving]
ymherklotz has joined #ocaml
<d_bot> <EduardoRFS> Could OCaml allow the following? It would make working with big GADTs a lot easier
<d_bot> <EduardoRFS>
<d_bot> <EduardoRFS> ```ocaml
<d_bot> <EduardoRFS> type 'a t = 'a constraint 'a = int -> int
<d_bot> <EduardoRFS> let f (type a) (x: a t) = ()
<d_bot> <EduardoRFS> ```
<d_bot> <EduardoRFS> something as this would also help
<d_bot> <EduardoRFS> ```ocaml
<d_bot> <EduardoRFS> let f (x: ((int -> int) as y) t) = ()
<d_bot> <EduardoRFS> ```
<d_bot> <Et7f3> Where will this be useful ?
<d_bot> <Et7f3> Why not just `type 'a t = { v: 'a } [@unboxed]` and then: `type f = (int -> int) t` ?
<d_bot> <Et7f3> And for second part 🤨🤨🤨if you know it is int -> int why do you need as ?
<d_bot> <NULL> I think this is for wider type identification and abstraction purposes
<d_bot> <EduardoRFS> the idea is to avoid noise
<d_bot> <NULL> If you want to pass type variable a (or y) to modules or even maybe objects/classes, it can be useful
<d_bot> <EduardoRFS> I'm doing logical gates with GADTs right now, and it get's very noise, just because I cannot do `x = a -> b -> a`
<d_bot> <EduardoRFS> thought about using equality witness better, but still very verbose, problem is that on call site it get's annoying `fun (type t) (Eq: (t, int -> int) eq) (x: t): t -> x`