Quick Overview: My web page: www.imperial.ac.uk/people/n.sadawi. Examples of variants, which along with records are the primary kind of user-defined More about records vs. variants, and how variants can combine "one of" vs "each of"
Ocaml Data Structures 3 13 - Detailed Overview & Context
My web page: www.imperial.ac.uk/people/n.sadawi. Examples of variants, which along with records are the primary kind of user-defined More about records vs. variants, and how variants can combine "one of" vs "each of" In this tutorial, I will show the basic ideas of immutable lists (cons lists), as well as polymorphic functions that operate over lists. Using pattern matching to access the pieces of a variant. Textbook: How to define a type for binary trees using variants. Textbook: