I’m very curious how subscriptions are managed internally. Specifically, after an update, how is Elm able to assess a batch of Subs and determine which to keep and which to drop, given that function equality if difficult, if not impossible?
I spent a fair amount of time with the Elm source code, however, I could not figure out where to look. Any insight is appreciated.