82
82
< a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/Safety-guarantees "> Safety guarantees</ a >
83
83
< div class ="dropdown-divider "> </ div >
84
84
< a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/Dhall-in-production "> Dhall in production</ a >
85
+ < div class ="dropdown-divider "> </ div >
86
+ < a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/Design-choices "> Design choices</ a >
85
87
</ div >
86
88
</ li >
87
89
< li class ="nav-item dropdown ">
99
101
How-to guides
100
102
</ a >
101
103
< div class ="dropdown-menu " aria-labelledby ="howtoDropdown ">
104
+ < a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/How-to-integrate-Dhall "> How to integrate Dhall</ a >
105
+ < div class ="dropdown-divider "> </ div >
102
106
< a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/Cheatsheet "> Cheatsheet</ a >
103
107
< div class ="dropdown-divider "> </ div >
104
108
< a class ="nav-link " href ="https://github.com/dhall-lang/dhall-lang/wiki/Frequently-Asked-Questions-%28FAQ%29 "> Frequently Asked Questions (FAQ)</ a >
141
145
< div class ="dropdown-divider "> </ div >
142
146
< a class ="nav-link " href ="https://github.com/dhall-lang/dhall-haskell/blob/master/dhall/README.md "> < img src = "./img/haskell-logo.png " height ="32px " alt ="Haskell logo "> < span > Haskell</ span > </ a >
143
147
< div class ="dropdown-divider "> </ div >
144
- < a class ="nav-link " href ="https://github.com/dhall-lang/dhall-nix/blob /master/README.md "> < img src = "./img/nix-logo.png " height ="32px " alt ="Nix logo "> < span > Nix</ span > </ a >
148
+ < a class ="nav-link " href ="https://github.com/dhall-lang/dhall-haskell/tree /master/dhall-nix "> < img src = "./img/nix-logo.png " height ="32px " alt ="Nix logo "> < span > Nix</ span > </ a >
145
149
< div class ="dropdown-divider "> </ div >
146
150
< a class ="nav-link " href ="https://git.sr.ht/~singpolyma/dhall-ruby "> < img src = "./img/ruby-logo.svg " height ="32px " alt ="Ruby logo "> < span > Ruby</ span > </ a >
147
151
</ div >
164
168
</ nav >
165
169
< header >
166
170
< h1 class ="text-center "> The Dhall configuration language</ h1 >
167
- < p class ="text-center "> The non-repetitive alternative to YAML</ p >
171
+ < p class ="lead text-center "> The non-repetitive alternative to YAML</ p >
168
172
</ header >
173
+ < div class ="container ">
174
+ < p class ="lead text-center ">
175
+ Dhall is a < a href ="https://github.com/dhall-lang/dhall-lang/wiki/Programmable-configuration-files "> programmable configuration language</ a >
176
+ that you can think of as: JSON + functions + types + imports
177
+ </ p >
178
+ </ div >
169
179
< div id ="editor ">
170
180
< div id ="input-pane ">
171
181
< ul class ="nav nav-tabs example-tab ">
@@ -227,15 +237,13 @@ <h1 class="display-4">Turing-completeness is not a feature</h1>
227
237
< a href ="https://github.com/dhall-lang/dhall-lang/wiki/Safety-guarantees "class ="btn btn-lg btn-outline-dark bg-light "> Safety Guarantees< i class ="fas fa-shield-alt "> </ i > </ a >
228
238
</ div >
229
239
< div class ="container jumbotron " style ="background-color: #cfebfb ">
230
- < h1 class ="display-4 "> Tough on messes</ h1 >
231
- < p class ="lead "> Dhall is built for large and weird configuration
232
- schemas.</ p >
240
+ < h1 class ="display-4 "> Integration friendly</ h1 >
241
+ < p class ="lead "> Dhall provides a smooth migration path for mature enterprise deployments.</ p >
233
242
< hr class ="my-4 ">
234
- < p > Don't use YAML? No problem!</ p >
235
- < p > Dhall can integrate with messy APIs and tools. You can even convert
236
- Dhall to ad-hoc and non-standard
237
- configuration file formats.</ p >
238
- < a href ="https://github.com/dhall-lang/dhall-nethack " class ="btn btn-lg btn-outline-dark bg-light "> See an Example < i class ="fas fa-cogs "> </ i > </ a >
243
+ < p > You can convert both ways between Dhall and JSON/YAML or read Dhall
244
+ configuration files directly into a language that supports a native
245
+ language binding.</ p >
246
+ < a href ="https://github.com/dhall-lang/dhall-lang/wiki/How-to-integrate-Dhall " class ="btn btn-lg btn-outline-dark bg-light "> Integrations < i class ="fas fa-cogs " > </ i > </ a >
239
247
</ div >
240
248
< div class ="container jumbotron " style ="background-color: #fbf3c8 ">
241
249
< h1 class ="display-4 "> Tired of YAML?</ h1 >
@@ -324,8 +332,8 @@ <h1 class="display-4">Tired of YAML?</h1>
324
332
-}
325
333
326
334
{ home = "/home/bill"
327
- , privateKey = "/home/bill/id_ed25519"
328
- , publicKey = "/home/blil/id_ed25519.pub"
335
+ , privateKey = "/home/bill/.ssh/ id_ed25519"
336
+ , publicKey = "/home/blil/.ssh/ id_ed25519.pub"
329
337
}`
330
338
331
339
let example1 = `{- Don't repeat yourself!
@@ -335,8 +343,8 @@ <h1 class="display-4">Tired of YAML?</h1>
335
343
336
344
let user = "bill"
337
345
in { home = "/home/\${user}"
338
- , privateKey = "/home/\${user}/id_ed25519"
339
- , publicKey = "/home/\${user}/id_ed25519.pub"
346
+ , privateKey = "/home/\${user}/.ssh/ id_ed25519"
347
+ , publicKey = "/home/\${user}/.ssh/ id_ed25519.pub"
340
348
}
341
349
342
350
{- Change the name "bill" to "jane" -}` ;
@@ -345,7 +353,7 @@ <h1 class="display-4">Tired of YAML?</h1>
345
353
346
354
let makeUser = \\(user : Text) ->
347
355
let home = "/home/\${user}"
348
- let privateKey = "\${home}/id_ed25519"
356
+ let privateKey = "\${home}/.ssh/ id_ed25519"
349
357
let publicKey = "\${privateKey}.pub"
350
358
in { home = home
351
359
, privateKey = privateKey
@@ -370,7 +378,7 @@ <h1 class="display-4">Tired of YAML?</h1>
370
378
371
379
let makeUser : Text -> Config = \\(user : Text) ->
372
380
let home : Text = "/home/\${user}"
373
- let privateKey : Text = "\${home}/id_ed25519"
381
+ let privateKey : Text = "\${home}/.ssh/ id_ed25519"
374
382
let publicKey : Text = "\${privateKey}.pub"
375
383
let config : Config =
376
384
{ home = home
@@ -405,7 +413,7 @@ <h1 class="display-4">Tired of YAML?</h1>
405
413
406
414
let makeUser = \\(user : Text) ->
407
415
let home = "/home/\${user}"
408
- let privateKey = "\${home}/id_ed25519"
416
+ let privateKey = "\${home}/.ssh/ id_ed25519"
409
417
let publicKey = "\${privateKey}.pub"
410
418
in { home = home
411
419
, privateKey = privateKey
0 commit comments