From 40405e2502f0daced414ac63501b9cfa9b0aae70 Mon Sep 17 00:00:00 2001 From: Alexander Plavin Date: Tue, 27 Feb 2024 07:19:58 -0500 Subject: [PATCH] typos --- src/sugar.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sugar.jl b/src/sugar.jl index 05aded91..2edfa503 100644 --- a/src/sugar.jl +++ b/src/sugar.jl @@ -383,10 +383,11 @@ julia> t = ("one", "two") julia> set(t, (@o _[1]), "1") ("1", "two") -julia> l = @optic _[∗].a +julia> l = @o _[∗].a +(@o _[∗].a) julia> modify(x -> x + 1, ((a=1,), (a=2,)), l) -((a=2,), (a=3,)) +((a = 2,), (a = 3,)) ``` See also [`@set`](@ref).