aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/dhall-format/out.dhall
blob: 7f5aa71583e0cb60bafa44219e75e23f7b83aae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{- More than one user?  Use a function! -}
let makeUser =
      \(user : Text) ->
        let home = "/home/${user}"

        let privateKey = "${home}/.ssh/id_ed25519"

        let publicKey = "${privateKey}.pub"

        in  { home, privateKey, publicKey }

in  [ makeUser "bill", makeUser "jane" ]