From cb9c22a316998b172d59baf463e16563924588ad 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=20and?= =?UTF-8?q?=20tweak=20redaction=20on=20DNF?= 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..d4ff0ecb 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 expressions 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