diff --git a/docs/modules/pkl-cli/pages/index.adoc b/docs/modules/pkl-cli/pages/index.adoc index dc85f96f..cc445835 100644 --- a/docs/modules/pkl-cli/pages/index.adoc +++ b/docs/modules/pkl-cli/pages/index.adoc @@ -650,11 +650,11 @@ To load <> into the REPL, run: pkl> :load config.pkl ---- -To evaluate the `bird.name` property, run: +To evaluate the `bird.species` property, run: [source,shell] ---- -pkl> bird.name +pkl> bird.species "Pigeon" ---- @@ -716,7 +716,7 @@ pkl> hello pkl> function double(n) = 2 * n pkl> double(5) 10 -pkl> class Bird { name: String } +pkl> class Bird { species: String } pkl> new Bird { species = "Pigeon" } { name = ? @@ -748,7 +748,7 @@ Due to Pkl's late binding semantics, redefining a member affects dependent membe [source,shell] ---- pkl> name = "Barn" -pkl> species = "$name Owl" +pkl> species = "\(name) Owl" pkl> species "Barn Owl" pkl> name = "Elf"