00:02
bgs has quit [Remote host closed the connection]
00:05
bgs has joined #ocaml
00:11
bgs has quit [Remote host closed the connection]
00:14
bgs has joined #ocaml
00:14
fererrorocher has quit [Quit: WeeChat 4.2.1]
00:24
mima has quit [Quit: leaving]
00:57
<
discocaml >
<regularspatula> i have used otoml and it was fine for my needs. i honestly can't remember why I chose it over toml
01:00
waleee has quit [Ping timeout: 256 seconds]
01:05
myrkraverk__ has quit [Ping timeout: 255 seconds]
01:10
myrkraverk has joined #ocaml
01:26
jabuxas has joined #ocaml
01:39
alexherbo2 has quit [Remote host closed the connection]
02:32
pi3ce has joined #ocaml
02:46
terrorjack has joined #ocaml
02:53
jabuxas has quit [Ping timeout: 268 seconds]
03:32
bgs has quit [Remote host closed the connection]
05:53
gentauro has quit [Read error: Connection reset by peer]
05:59
gentauro has joined #ocaml
06:10
bgs has joined #ocaml
06:18
bgs has quit [Remote host closed the connection]
07:32
bartholin has joined #ocaml
07:34
neiluj has joined #ocaml
07:35
Guest28 has joined #ocaml
07:59
bartholin has quit [Quit: Leaving]
08:00
Guest28 has quit [Quit: Client closed]
08:07
olle has joined #ocaml
09:50
dnh has joined #ocaml
09:51
dnh has quit [Client Quit]
09:53
romildo has joined #ocaml
09:58
dnh has joined #ocaml
11:12
alexherbo2 has joined #ocaml
11:13
romildo has quit [Quit: Leaving]
11:27
sroso has joined #ocaml
11:31
chiselfuse has joined #ocaml
11:36
sroso has quit [Quit: Leaving :)]
11:38
Fardale has joined #ocaml
12:12
<
discocaml >
<andreypopp> ended up with otoml as well
12:54
jabuxas has joined #ocaml
13:43
malte has quit [Remote host closed the connection]
13:44
malte has joined #ocaml
14:23
fererrorocher has joined #ocaml
14:44
fererrorocher has quit [Quit: WeeChat 4.2.1]
14:59
jabuxas has quit [Ping timeout: 268 seconds]
15:28
jabuxas has joined #ocaml
15:31
mro has joined #ocaml
16:03
bartholin has joined #ocaml
16:16
waleee has joined #ocaml
16:24
neiluj has quit [Ping timeout: 256 seconds]
16:38
Serpent7776 has joined #ocaml
16:50
waleee has quit [Ping timeout: 260 seconds]
16:52
jabuxas has quit [Ping timeout: 256 seconds]
16:54
Tuplanolla has joined #ocaml
17:44
waleee has joined #ocaml
17:47
Anarchos has joined #ocaml
17:49
neiluj has joined #ocaml
17:51
jabuxas has joined #ocaml
17:53
neiluj has quit [Ping timeout: 256 seconds]
17:54
mro has quit [Ping timeout: 260 seconds]
18:36
neiluj has joined #ocaml
18:41
neiluj has quit [Ping timeout: 268 seconds]
18:45
alexherbo2 has quit [Remote host closed the connection]
18:46
alexherbo2 has joined #ocaml
19:03
alexherbo2 has quit [Remote host closed the connection]
19:03
alexherbo2 has joined #ocaml
19:04
jabuxas_ has joined #ocaml
19:04
jabuxas has quit [Read error: Connection reset by peer]
19:09
mro has joined #ocaml
19:22
neiluj has joined #ocaml
19:26
neiluj has quit [Ping timeout: 255 seconds]
19:30
olle_ has joined #ocaml
19:30
<
olle_ >
I can't just use GADT on a single constructor in a sum type, can I?
19:31
<
olle_ >
I have a AST with statement Hash_set, and part of Hash_set is type which can only be a HashTable type in this case.
19:31
<
olle_ >
Hm wonder if LLM can solve such questions...
19:34
<
discocaml >
<Kali> if you can describe what you're looking for better then i can help but it's unclear to me what you're asking
19:35
<
olle_ >
Yea one sec
19:35
jabuxas_ has quit [Ping timeout: 256 seconds]
19:37
<
olle_ >
Hopefully clear :)
19:37
<
olle_ >
Just part of the AST def, hope it's enough
19:38
<
olle_ >
Maybe I don't understand GADT correctly, but I want to limit which constructors are available in a certain type
19:38
<
olle_ >
lvalue can be a bunch of things, but for HashSet statement, I want to limit lvalue to be Variable of string, not the other constructors.
19:38
<
discocaml >
<Kali> oh, ok
19:46
<
olle_ >
oh that's pretty cool
19:46
<
olle_ >
Kali is it ok if i copy it to the forum for future reference?
19:47
Anarchos has quit [Quit: Vision[]: i've been blurred!]
19:48
mro has quit [Ping timeout: 256 seconds]
19:50
mro has joined #ocaml
19:51
<
discocaml >
<Kali> yes, but just note that the issue with this method is that because the types of those constructors are distinct, you have to do something to erase the type variable if you ever want to put a Variable ... and a Property_access ... in the same container / return them from the same function
19:52
<
discocaml >
<Kali> you can't i.e. have a `variable lvalue list` containing Property_access or Object_access or vice versa
19:53
<
olle_ >
Hm good point
19:53
<
discocaml >
<Kali> `type erased_lvalue = Erase : _ lvalue -> erased_lvalue`
19:55
<
olle_ >
If only I was payed for writing on this compiler ^^'
20:00
alexherbo2 has quit [Remote host closed the connection]
20:09
<
discocaml >
<Kali> yes, paid
20:10
neiluj has joined #ocaml
20:14
Anarchos has joined #ocaml
20:14
neiluj has quit [Ping timeout: 240 seconds]
21:05
bgs has joined #ocaml
21:18
olle_ has quit [Ping timeout: 255 seconds]
21:26
Anarchos has quit [Quit: Vision[]: i've been blurred!]
21:32
Serpent7776 has quit [Ping timeout: 252 seconds]
21:41
bartholin has quit [Quit: Leaving]
21:46
neiluj has joined #ocaml
21:50
neiluj has quit [Ping timeout: 256 seconds]
22:14
neiluj has joined #ocaml
22:19
szkl has quit [Quit: Connection closed for inactivity]
22:20
neiluj has quit [Ping timeout: 256 seconds]
22:27
neiluj has joined #ocaml
22:27
neiluj has quit [Client Quit]
23:14
mro has quit [Remote host closed the connection]
23:14
mro has joined #ocaml
23:19
mro has quit [Client Quit]
23:31
Tuplanolla has quit [Quit: Leaving.]