FP Complete

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.

Subscribe to our blog via email

Email subscriptions come from our Atom feed and are handled by Blogtrottr. You will only receive notifications of blog posts, and can unsubscribe any time.