You mean Haskell has things besides lists???

It's important to focus on data structures, since getting your data right is step 1 to great Haskell code.

Generic data structures

There are three basic flavors to the data structures

API design

Laziness

Impacts: undefined, infinite structures, performance, memory usage.

Some caveats

There are also ByteString and Text builders for efficient construction.

Quiz: Pick the data structure

We'll come back to this quiz after we explore the data types in more detail.

Share this