Simple Types, Kinds of Type Constructors




CS152

Chris Pollett

Apr. 20, 2009

Outline

As we talk about the above we'll continue to introduce ML.

Introduction

Simple Types

Some Operations on Predefined Types in ML

Other kinds of Simple Types

Quiz

A function which can access the bound variables from the scope in which it is defined is called a:

  1. closure
  2. continuation
  3. message passing object

Type Constructors

Cartesian Product

Records

Variant Records

Subset