Search code examples
Java tagged union / sum types...


javahaskellalgebraic-data-types

Read More
How can I see the full expanded contract of a Typescript type?...


typescriptvisual-studio-codealgebraic-data-types

Read More
What is Some in OCaml...


functional-programmingmatchocamlalgebraic-data-typesoption-type

Read More
Scala 3, ADTs, combining elements in a collection...


scalaalgebraic-data-types

Read More
How to list all values of sum type in Haskell...


haskellalgebraic-data-types

Read More
Haskell Error: Expected kind ‘* -> *’, but ‘Movie’ has kind ‘*’...


haskellfunctoralgebraic-data-types

Read More
How to check for exhaustiveness of product types in TypeScript?...


typescriptpattern-matchingdestructuringtype-safetyalgebraic-data-types

Read More
How can I create a union type that can also be used to instantiate union members in Python?...


pythonpython-typingalgebraic-data-typesdiscriminated-union

Read More
z3py: How to prevent accessor call on custom data type when a differen constructor is used?...


z3pyalgebraic-data-types

Read More
How to correctly implement a polymorphic functional Tree data structure in Scala?...


scalagenericstreepolymorphismalgebraic-data-types

Read More
Algebraic Types - Haskell...


haskellalgebraic-data-types

Read More
How to make the subclass arguments available in the abstract class for pattern matching in scala?...


scalamethodspattern-matchingoverridingalgebraic-data-types

Read More
scala Does match end in Nil?...


scalapattern-matchingalgebraic-data-types

Read More
What is the difference between `'a.` and `type a.` and when to use each?...


polymorphismocamltype-inferencealgebraic-data-types

Read More
Typing based on subsets of unions in TypeScript...


typescripttypescript-genericsalgebraic-data-typestypescript4.0

Read More
Elegant way to do associated "data items"...


haskellalgebraic-data-types

Read More
Access values from top level model...


modelelmalgebraic-data-types

Read More
Algebraic data type list into an actual list...


listhaskellalgebraic-data-types

Read More
Calculate Price of items in a list...


listhaskellalgebraic-data-types

Read More
Use one recursive case class constructor in two sealed traits...


scalatraitscase-classalgebraic-data-types

Read More
scala3: Methods on enum case, possible?...


scalaalgebraic-data-typesgadtscala-3

Read More
Scala Some redundant covariance...


scalapattern-matchingcovariancealgebraic-data-typesscala-option

Read More
How do you emulate ADTs and pattern matching in TypeScript?...


pattern-matchingtypescriptalgebraic-data-types

Read More
Defining non-Int constants in Haskell within an ADT...


haskellconstantsalgebraic-data-types

Read More
Ordered variant types in OCaml...


compareocamlalgebraic-data-types

Read More
Is there a type-mismatch mistake in John Hughes's definition of foldtree?...


haskellfoldtype-mismatchalgebraic-data-types

Read More
Are there algebraic data types outside of sum and product?...


scalahaskelltypesalgebraic-data-types

Read More
Why does refactoring data to newtype speed up my haskell program?...


performancehaskellalgebraic-data-typesdata-representationnewtype

Read More
Why can't python sum properly?...


pythonnumberscalculationalgebraic-data-types

Read More
Indexed Initial algebras for GADTs...


haskelltypesalgebraalgebraic-data-typescategory-theory

Read More
BackNext