From de4667b6bc9d4a89e7544d5456ece5cf3265c575 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Sun, 12 Apr 2020 09:51:55 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9DUpdate=20`b=E2=80=B2=E2=80=B20`=20i?= =?UTF-8?q?n=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/src/Collections.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/Collections.md b/docs/src/Collections.md index fa10756..44f0b12 100644 --- a/docs/src/Collections.md +++ b/docs/src/Collections.md @@ -46,7 +46,7 @@ julia> eos Murnaghan{Float64}(4.0, 2.0, 3.0, 0.0) ``` -To modify multiple fields (say, `:v0`, `:bp0`, `:bpp0`, `:e0`) at a time, use +To modify multiple fields (say, `:v0`, `:b′0`, `:b′′0`, `:e0`) at a time, use [`@batchlens`](https://tkf.github.io/Kaleido.jl/stable/#Kaleido.@batchlens) from [`Kaleido.jl`](https://github.com/tkf/Kaleido.jl): @@ -55,11 +55,11 @@ julia> using Setfield, Kaleido julia> lens = @batchlens(begin _.v0 - _.bp0 - _.bpp0 + _.b′0 + _.b′′0 _.e0 end) -IndexBatchLens(:v0, :bp0, :bpp0, :e0) +IndexBatchLens(:v0, :b′0, :b′′0, :e0) julia> eos = BirchMurnaghan4th(1, 2.0, 3, 4) BirchMurnaghan4th{Float64}(1.0, 2.0, 3.0, 4.0, 0.0)