From 5be8f5334285b494e250d0fcd52bf54d8fe7923c Mon Sep 17 00:00:00 2001 From: Erik Demaine Date: Wed, 30 Oct 2024 16:03:50 -0400 Subject: [PATCH] Improve slice example --- civet.dev/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/civet.dev/reference.md b/civet.dev/reference.md index 16bc63f5..868e764f 100644 --- a/civet.dev/reference.md +++ b/civet.dev/reference.md @@ -461,8 +461,8 @@ If you just want to specify one endpoint of an increasing slice, you can avoid `..` altogether: -x is x[<=i] + x[>i] -x is x[=i] +[left, right] = [x[<=i], x[>i]] +[left, right] = [x[=i]] ## Strings