mirror of
https://github.com/apple/pkl.git
synced 2026-03-24 01:51:19 +01:00
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:
committed by
Philip K.F. Hölzenspies
parent
aa98123c93
commit
14dec716cf
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user