O'Reilly logo

Get Programming with Haskell by Will Kurt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 42. Efficient, stateful arrays in Haskell

After reading lesson 42, you’ll be able to

  • Use the UArray type for efficient storage and retrieval
  • Perform stateful computation on arrays with STUArray
  • Treat properly encapsulated, stateful functions as pure functions

After finishing this book on Haskell, you get a call from a recruiter at GooMicroBook asking if you’d like to interview. You say you’d love to, and the recruiter mentions that there will be a coding interview in the programming language of your choice. “Any language I want?” you eagerly ask. The recruiter confirms that, yes, you can use any language. With delight, you say you’d like to do the interview in Haskell.

You get to your interview, and your interviewer walks in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required