News for hackers. Stuff that matters.
Re:More Good Programming Quotes (2016) by rrobukef on Saturday July 22, 2017 @01:23PM (#14828229)
Sorry for the confusion, JadeNB is correct: open type unions. For when you want plugin-like code without significant recompilations.
Re:More Good Programming Quotes (2016) by tome on Saturday July 22, 2017 @04:48PM (#14829295)
OK, fine. Well in Haskell we have Dynamic. Of course matching on a Dynamic may fail, but that's OK because the basis for comparison is untyped languages! Matching on types can always fail there too.
Re:More Good Programming Quotes (2016) by rrobukef on Monday July 24, 2017 @04:46AM (#14836823)
With Dynamic, yes, but not with existential quantification. The type is a proof the type-class is implemented.

I also didn't yet know Dynamic, thanks. I'm not that fluent in fp.