leastfixedpoint

Tony's Link Log

All tags.

Visitor as a Sum Type.

Mark Seemann (25 June 2018)
🔗 https://blog.ploeh.dk/2018/06/25/visitor-as-a-sum-type/
#functional-programming #bcs2220 #bcs

Makes explicit the connection between the Visitor design pattern and sum types (a.k.a. tagged unions / algebraic data types).