Lesson 35. Building projects with stack

After reading lesson 35, you’ll be able to

  • Work with Haskell’s stack build tool
  • Build stack projects
  • Configure key files generated by stack

When moving beyond learning a programming language to using it for more serious projects, one of the most important things to have is proper build automation. One universal option is to use a tool such as GNU Make. But many languages have their own build tools. Java has several industrial-strength options such as Ant and Maven, Scala has sbt, and Ruby has rake. Given Haskell’s academic history, it might come as a surprise that Haskell too has a powerful build tool: stack. The stack build tool is a relatively recent addition to the Haskell ecosystem, but it has ...

Get Get Programming with Haskell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.