News for hackers. Stuff that matters.
Re:Existential Haskell by philzook on Friday November 27, 2020 @10:13AM (#25229271)
A fun post. I liked seeing some things I knew summarized and some things I didn't know. It is fascinating to me that functional programming techniques and object oriented techniques become intersecting once you know enough about the two. The aversion some parts of the functional programming community have to object oriented is more about how it manifests in particular popular languages. People are dutifully intrigued by the CLOS or Smalltalk. Things that are function like should probably be modeled as functions and things that are object like should probably be modeled as objects.

Visitor patterns are a kind of fold, Functions as Closure objects, the various formulations of iterators and stream transformers. The relationship of existential types to objects was (is?) a hot research topic.

- Codata in Action https://www.microsoft.com/en-us/research/publication/codata-...

- Hasekll's Overlooked Object System https://arxiv.org/abs/cs/0509027

- Abadi, Martin; Luca Cardelli - A Theory of Objects.

- Type Theories and Object Oriented Programming http://users.csc.calpoly.edu/~gfisher/classes/530/handouts/r...

There are no comments on this comment yet.