From 5f0b8ae1be0fcee6b9a1b0694e23fc3b3e194c4e Mon Sep 17 00:00:00 2001 From: James Napora <85808999+TheGreatSageEqualToHeaven@users.noreply.github.com> Date: Sun, 13 Feb 2022 16:40:11 -0800 Subject: [PATCH] Update syntax-list-comprehensions.md --- rfcs/syntax-list-comprehensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/syntax-list-comprehensions.md b/rfcs/syntax-list-comprehensions.md index 8708e43b..2ce510d2 100644 --- a/rfcs/syntax-list-comprehensions.md +++ b/rfcs/syntax-list-comprehensions.md @@ -7,7 +7,7 @@ Introduce a form of list comprehension using `n for-in-do` syntax. List comprehensions would bring several benefits and prevent code smell. In Lua you are encouraged to not modify tables during traversal. -When traversing a table to exclude all the odd numbers you'd be creating a large statement to get rid of them +When traversing a table to exclude all the odd numbers you'd be creating a large statement to get rid of them, with list comprehensions this could be shortened ## Design