dhall-text 1.0.11 → 1.0.12
raw patch · 2 files changed
+8/−8 lines, 2 filesdep ~dhall
Dependency ranges changed: dhall
Files
- README.md +6/−6
- dhall-text.cabal +2/−2
README.md view
@@ -1,4 +1,4 @@-# `dhall-text 1.0.11`+# `dhall-text 1.0.12` This `dhall-text` package provides a `dhall-to-text` executable which you can use to template text using the Dhall configuration language.@@ -10,7 +10,7 @@ -- Dhall is a typed programming language -- This file is the type of an anonymous record-{ name : Text, upvotes : Integer }+{ name : Text, upvotes : Natural } ``` ```haskell@@ -24,7 +24,7 @@ -- This file has type: ----- ./people : List { name : Text, upvotes : Integer }+-- ./people : List { name : Text, upvotes : Natural } -- -- ... or just: --@@ -40,7 +40,7 @@ -- supports string interpolation, too, using `${...}` syntax -> '' <li class="list-group-item">- <span class="badge">${Integer/show person.upvotes}</span>+ <span class="badge">${Natural/show person.upvotes}</span> ${person.name} </li> ''@@ -53,8 +53,8 @@ ```haskell $ cat make-items -- You can also import any type or expression by its URL- let List/map = https://ipfs.io/ipfs/Qmbh2ifwcpX9a384vJMehySbV7rdvYhzVbL5ySs84k8BgY/Prelude/List/map-in let Text/concat = https://ipfs.io/ipfs/Qmbh2ifwcpX9a384vJMehySbV7rdvYhzVbL5ySs84k8BgY/Prelude/Text/concat+ let List/map = https://raw.githubusercontent.com/dhall-lang/Prelude/302881a17491f3c72238975a6c3e7aab603b9a96/List/map+in let Text/concat = https://raw.githubusercontent.com/dhall-lang/Prelude/302881a17491f3c72238975a6c3e7aab603b9a96/Text/concat in \(people : List ./Person) -> Text/concat (List/map ./Person Text ./make-item people)
dhall-text.cabal view
@@ -1,5 +1,5 @@ Name: dhall-text-Version: 1.0.11+Version: 1.0.12 Cabal-Version: >=1.8.0.2 Build-Type: Simple Tested-With: GHC == 7.10.2, GHC == 8.0.1@@ -25,7 +25,7 @@ Main-Is: Main.hs Build-Depends: base >= 4.8.0.0 && < 5 ,- dhall >= 1.15.0 && < 1.16,+ dhall >= 1.15.0 && < 1.18, optparse-applicative < 0.15, text >= 0.11.1.0 && < 1.3 GHC-Options: -Wall