amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
<d_bot>
<stab> "Semantic foundations of program analysis." has the proof that it's a special case of solving a dynamic system, but im gonna be honest it's a bit above my paygrade
<d_bot>
<stab> im not very smart, all the Cosout papers make me feel very uneducated
<companion_cube>
ah, yeah, I don't know much about that either
<companion_cube>
and the tendency to say "everything is just abstract interpretation" is annoying
<d_bot>
<stab> Yeah idk I’ve been meaning to read the paper that talks about doing the proof theoretic approach via abstract interpretation
<companion_cube>
I've heard that cousot papers are always unreadable
<d_bot>
<stab> Yeah it’s pretty rough
<d_bot>
<stab> I’ve also tried watching a talk by him and holy shit
<companion_cube>
I think it's ok to read papers by other authors
<companion_cube>
(what's the "proof theoretic approach"?)
<d_bot>
<stab> Yeah idk there aren’t many foundational abstract interpretation papers by anyone else
<d_bot>
<stab> Proof theoretic is Cosouts word for like Hoare logic type approaches
<d_bot>
<stab> Deductive logics etc
<d_bot>
<stab> Like the stuff infer does with separation logic
yomimono has quit [Ping timeout: 246 seconds]
<companion_cube>
ahahahah, why would you use abstract interpretation for that :D
<d_bot>
<stab> I think the paper is about combining the two
<d_bot>
<stab> So sound approximations by exchanging information between both analyses
<companion_cube>
ah, like a product of a lattice and the proof triplets?
<d_bot>
<stab> Yeah I’d assume but I haven’t read the paper
yomimono has joined #ocaml
<d_bot>
<stab> I’ve been putting it off because those papers tend to give me anxiety about my discrete math skills
<companion_cube>
they don't seem to be written to be understandable :p
<companion_cube>
(I once tried to read a 3 page, 2 column cousot paper, and it was hilariously ununderstandable)
<companion_cube>
(so if they write papers this way, it's on them that the papers are so unreadable)
<d_bot>
<stab> Yeah part of me thinks the topic is a bit dense, but I don’t know if it needs to be this unapproachable
<companion_cube>
🤷
<companion_cube>
it's a bit like cousot has a hammer, and everything loooks like a nail, too
<companion_cube>
looks*
<d_bot>
<stab> Yeah although you can make a pretty strong argument that model checking is just a subset of abstract interpretation
jbrown has joined #ocaml
<d_bot>
<stab> granted it's kinda a dumb argument lol
mxns has joined #ocaml
mxns has quit [Ping timeout: 265 seconds]
mxns has joined #ocaml
rgrmrts has joined #ocaml
rgrmrts has quit [Client Quit]
djellemah has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
aaaaaa has joined #ocaml
rgrmrts has joined #ocaml
amiloradovsky has quit [Ping timeout: 240 seconds]
aaaaaa has quit [Ping timeout: 258 seconds]
aaaaaa has joined #ocaml
aaaaaa has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ocaml
yomimono_ has joined #ocaml
yomimono has quit [Ping timeout: 272 seconds]
rgrmrts has quit [Quit: beep boop]
unihernandez22 has joined #ocaml
laokz has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
caente has quit [Ping timeout: 252 seconds]
yomimono_ has quit [Ping timeout: 246 seconds]
yomimono has joined #ocaml
<snowpanda>
In Java we can have List<Object> to hold objects of any type. What would the equivalent in OCaml be?
<brettgilio>
snowpanda: Any polymorphic type list ('a list)
<brettgilio>
Do you have a context application in mind?
quazimodo has quit [Remote host closed the connection]
<brettgilio>
That might help give a more specific answer.
<companion_cube>
snowpanda: not really, OCaml doesn't have reflection so `object` would be pretty useless
<brettgilio>
^ agreed
<companion_cube>
then you can use existentials if you want a list of things with a same behavior, but it's not a particularly common pattern
<companion_cube>
(as in: `type show = Show : 'a * ('a -> string) -> show` and then a `show list` can work)
sleepingisfun has joined #ocaml
djellemah has quit [Ping timeout: 244 seconds]
<snowpanda>
companion_cube: I don't understand what your last line is doing, sorry. I'm new to OCaml
ski has quit [Ping timeout: 260 seconds]
<snowpanda>
brettgilio: Hmm I'm not sure I understand what you're saying either above
<snowpanda>
As a context application, I was wondering how we could create a list where we could keep adding values of any type we want
<brettgilio>
snowpanda: what you are looking for is a record with type polymorphism
delysin has joined #ocaml
<snowpanda>
brettgilio: But with type polymorphism, the set of possible types is still limited by the definition isn't it?
<companion_cube>
snowpanda: a list with any type inside is useless
<companion_cube>
when you access the list, you'd have elements on which you have 0 information (and hence can do nothing with)
<snowpanda>
companion_cube: Yeah, I was just wondering more out of curiosity
<companion_cube>
`type any = Any : 'a -> any`
<companion_cube>
^ with this you can put any type in a list: `let l = [Any 1; Any "foo"]`
<companion_cube>
except it's useless
<snowpanda>
companion_cube: I see. What's the right way to read that line? type any is defined to have a type constructor Any which takes a value of any type and returns an any?
<caente>
companion_cube: I've seen you in lobsters right?
<companion_cube>
yep
waleee-cl has quit [Quit: Connection closed for inactivity]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
ggole has joined #ocaml
olle has quit [Ping timeout: 264 seconds]
Haudegen has joined #ocaml
waleee-cl has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
<d_bot>
<kanishka> Is there any foundation that is planning on funding finishing Github Semantic library parsing for ocaml? It would be nice to have "go to definition" in github pull requests
<companion_cube>
does github even merge this kind of PR? I haven't heard that other languages got semantic support since they released the original set
Anarchos has joined #ocaml
<d_bot>
<kanishka> Looks like merges/progress is being made
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
<companion_cube>
what I mean is, did github add any language since they launched the whole thing? I doubt OCaml is the most active on that front
hnOsmium0001 has joined #ocaml
sonologico has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
wingsorc has joined #ocaml
motherfsck has quit [Read error: Connection reset by peer]
motherfsck has joined #ocaml
Anarchos has joined #ocaml
BitPuffin has quit [Quit: killed]
aspiwack[m] has quit [Quit: killed]
bglm[m] has quit [Quit: killed]
labor[m] has quit [Quit: killed]
jimt[m] has quit [Quit: killed]
xzax_[m] has quit [Quit: killed]
pqwy[m] has quit [Quit: killed]
sepp2k has quit [Quit: killed]
aecepoglu[m] has quit [Quit: killed]
quizzop[m] has quit [Quit: killed]
flux has quit [Quit: killed]
Manis[m] has quit [Quit: killed]
peddie has quit [Quit: killed]
talyian[m] has quit [Quit: killed]
dash has quit [Quit: killed]
lnxw37d4 has quit [Quit: killed]
aterius has quit [Quit: killed]
sonologico has quit [Remote host closed the connection]
<d_bot>
<kanishka> I looked for a few minutes, but I couldn't tell whether a language has transformed from proposal to fully merged in the git history.
bglm[m] has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
Hrundi_V_Bakshi has joined #ocaml
lnxw37d4 has joined #ocaml
BitPuffin has joined #ocaml
jimt[m] has joined #ocaml
xzax_[m] has joined #ocaml
aecepoglu[m] has joined #ocaml
flux has joined #ocaml
peddie has joined #ocaml
pqwy[m] has joined #ocaml
aspiwack[m] has joined #ocaml
ansiwen[m] has joined #ocaml
labor[m] has joined #ocaml
Manis[m] has joined #ocaml
aterius has joined #ocaml
dash has joined #ocaml
sepp2k has joined #ocaml
quizzop[m] has joined #ocaml
talyian[m] has joined #ocaml
mxns has joined #ocaml
amiloradovsky has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
ggole has quit [Quit: Leaving]
nullcone has quit [Quit: Connection closed for inactivity]
reynir has quit [Ping timeout: 265 seconds]
reynir has joined #ocaml
Jesin has joined #ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 240 seconds]
rgrmrts has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
rgrmrts has quit [Quit: beep boop]
wingsorc has quit [Quit: Leaving]
wingsorc has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
amiloradovsky has quit [Ping timeout: 240 seconds]
aaaaaa has quit [Quit: leaving]
webshinra_ has joined #ocaml
webshinra has quit [Read error: Connection reset by peer]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]