# `dhall-text 1.0.14` [![Hackage](https://img.shields.io/hackage/v/dhall-text.svg)](https://hackage.haskell.org/package/dhall-text) This `dhall-text` package provides a `dhall-to-text` executable which you can use to template text using the Dhall configuration language. For example, suppose you save the following files to your current directory: ```haskell $ cat Person -- Dhall is a typed programming language -- This file is the type of an anonymous record { name : Text, upvotes : Natural } ``` ```haskell $ cat people -- Dhall natively supports lists and anonymous records [ { name = "Maria" , upvotes = 14 } , { name = "Jordan", upvotes = 2 } , { name = "Pranav", upvotes = 1 } ] -- This file has type: -- -- ./people : List { name : Text, upvotes : Natural } -- -- ... or just: -- -- ./people : List ./Person ``` ```haskell $ cat make-item -- You can define anonymous functions in Dhall using a backslash (i.e. `\`) \(person : ./Person) -- You can import any type or expression by its path -- Dhall supports multiline strings that strip leading whitespace and Dhall -- supports string interpolation, too, using `${...}` syntax -> ''