Add details to show amending working when using modules

Running through the tutorial, the amending was stated in the tutorial text but not visible in the tutorial output since `parrot.pkl` was replacing all the members of `pigeon.pkl`.
This commit is contained in:
Les Hill
2024-02-13 09:36:13 -08:00
committed by Philip K.F. Hölzenspies
parent aa98123c93
commit 14dec716cf

View File

@@ -206,6 +206,8 @@ Going back to the example above, you can write `parrot` as a separate module.
name = "Common wood pigeon"
diet = "Seeds"
taxonomy {
kingdom = "Animalia"
clade = "Dinosauria"
species = "Columba palumbus"
}
----
@@ -236,6 +238,8 @@ $ pkl eval /Users/me/tutorial/pigeon.pkl
name = "Common wood pigeon"
diet = "Seeds"
taxonomy {
kingdom = "Animalia"
clade = "Dinosauria"
species = "Columba palumbus"
}
@@ -244,6 +248,8 @@ parrot {
name = "Great green macaw"
diet = "Berries"
taxonomy {
kingdom = "Animalia"
clade = "Dinosauria"
species = "Ara ambiguus"
}
}