rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
azimut has joined #ocaml
edr has quit [Quit: Leaving]
waleee has quit [Ping timeout: 240 seconds]
gdd has quit [Ping timeout: 268 seconds]
gdd has joined #ocaml
trev has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
average has quit [Quit: Connection closed for inactivity]
bartholin has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bartholin has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
ehrt74 has joined #ocaml
Tuplanolla has joined #ocaml
hapisnake has joined #ocaml
hapisnake has quit [Quit: Client closed]
hapisnake has joined #ocaml
hapisnake has quit [Client Quit]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #ocaml
ehrt74 has quit [Ping timeout: 260 seconds]
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bartholin has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
waleee has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 260 seconds]
average has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
dnh has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
azimut has quit [Ping timeout: 240 seconds]
dnh has joined #ocaml
hannes has quit [Ping timeout: 276 seconds]
rgrinberg has joined #ocaml
hannes has joined #ocaml
ehrt74 has joined #ocaml
mizlan has joined #ocaml
ehrt74 has quit [Ping timeout: 256 seconds]
szkl has joined #ocaml
waleee has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
<discocaml>
<deepspacejohn> TIL that `begin` and `end` are even more literally the same as `(` and `)` than I had realized. This compiles: `let () = begin end`
<discocaml>
<Kali> oh wow, that's pretty funny
<discocaml>
<Kali> this raises the question: can destructuring be done with begin...end
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<discocaml>
<Kali> apparently not
<discocaml>
<Kali> `let begin 2, 3 end = (2,3)` does not compile
<discocaml>
<deepspacejohn> It looks like it only works when constructing a pattern. `print_newline begin end`
<discocaml>
<Kali> it doesn't seem to work inside patterns at all
<discocaml>
<leviroth> It also doesn’t work for generative functor application
<discocaml>
<leviroth> I’ve never actually checked if it works for normal functors
<discocaml>
<deepspacejohn> I think that example doesn't work because you're destructing a function argument. This works: `let ((), ()) = ( begin end, begin end )`
<discocaml>
<Kali> it does not work for normal functors either
<octachron>
"begin ... end" only works for expressions, and the empty case is most probably here to support empty statements in case like "if ... then begin end"