Top "Algebraic-data-types" questions

Algebraic data types are data structures built from sums, products and recursive types, admitting an algebra.

Will the var members in case class affect case class's equality?

I have made heavy use of case classes in my code, replying on the underlying equality definitions of case class …

scala equality case-class algebraic-data-types
Algebraic data types in TypeScript

Worded an other way: How would you type the windowState DOM property in TypeScript? SOLVED (in TypeScript 2): declare var windowState: …

typescript algebraic-data-types
Memory footprint of Haskell data types

How can I find the actual amount of memory required to store a value of some data type in Haskell (…

haskell memory-management ghc algebraic-data-types