From e0ca52650d4514b8f566c19a2c3e6ebb7cbce840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Sat, 11 Feb 2023 13:38:36 -0600 Subject: [PATCH] =?UTF-8?q?fix=20typo:=20Nexted=20=E2=86=92=20Nested?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/adt/scala.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/adt/scala.md b/src/pages/adt/scala.md index 95b1593c..3193a124 100644 --- a/src/pages/adt/scala.md +++ b/src/pages/adt/scala.md @@ -43,7 +43,7 @@ enum A { } ``` -In other words you can't write `final case class` inside an `enum`. You also can't nest `enum` inside `enum`. Nexted logical ors can be rewritten into a single logical or containing only logical ands (known as disjunctive normal form) so this is not a limitation in practice. However the Scala 2 representation is still available in Scala 3 should you want more expressivity. +In other words you can't write `final case class` inside an `enum`. You also can't nest `enum` inside `enum`. Nested logical ors can be rewritten into a single logical or containing only logical ands (known as disjunctive normal form) so this is not a limitation in practice. However the Scala 2 representation is still available in Scala 3 should you want more expressivity. ### Algebraic Data Types in Scala 2