Examples TYPE (user types) usage examples. Example 1: Defining a type with a record structureExample 2: Defining a type an using it in another moduleExample 3: Defining a type with a function type