Use cleverer dhall in examples

This commit is contained in:
Daniel Harvey 2020-02-17 03:21:06 +00:00
parent b5973fb873
commit 6810a59372
2 changed files with 12 additions and 13 deletions

View File

@ -1,5 +1,6 @@
{ title = "foo",
panes = [ {
panes = [
{
paneCommand = "yes 'Pane 1'", paneTitle = "One"
},
{

View File

@ -1,12 +1,10 @@
{ title = "foo",
panes = [ {
paneCommand = "yes 'Pane 1'", paneTitle = "One"
},
{
paneCommand = "yes 'Pane 2'", paneTitle = "Two"
},
{
paneCommand = "yes 'Pane 3'", paneTitle = "Three"
}
]
}
-- here we are taking our first Dhall file and adding another item to it
let sample1 = ./Sample1.dhall
in { title = sample1.title
, panes = sample1.panes # [
{ paneCommand = "yes 'Pane 3'"
, paneTitle = "Three"
}
]
}