From 7421211c333ed146a8cf866dedc2f7a32ace5f5c Mon Sep 17 00:00:00 2001 From: Zelenya Date: Sun, 29 Oct 2023 15:02:02 -0700 Subject: [PATCH] Add a note --- text/chapter4.md | 2 ++ text/chapter5.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/text/chapter4.md b/text/chapter4.md index 677a5cd19..dda032ae9 100644 --- a/text/chapter4.md +++ b/text/chapter4.md @@ -1,5 +1,7 @@ # Pattern Matching +> Temporary note: If you're working on this chapter, beware that chapters 4 and 5 were swapped in November 2023. + ## Chapter Goals This chapter will introduce two new concepts: algebraic data types and pattern matching. We will also briefly cover an interesting feature of the PureScript type system: row polymorphism. diff --git a/text/chapter5.md b/text/chapter5.md index 2c90e32b0..0e04a86d4 100644 --- a/text/chapter5.md +++ b/text/chapter5.md @@ -1,5 +1,7 @@ # Recursion, Maps, And Folds +> Temporary note: If you're working on this chapter, beware that chapters 4 and 5 were swapped in November 2023. + ## Chapter Goals In this chapter, we will look at how recursive functions can be used to structure algorithms. Recursion is a basic technique used in functional programming, which we will use throughout this book.