hakyll-dhall 0.2.1.0 → 0.2.1.1
raw patch · 3 files changed
+31/−11 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +9/−0
- hakyll-dhall.cabal +2/−2
- src/Hakyll/Web/Dhall.hs +20/−9
CHANGELOG.md view
@@ -1,6 +1,15 @@ Changelog ========= +Version 0.2.1.1+---------------++*October 8, 2018*++<https://github.com/mstksg/backprop/releases/tag/v0.2.1.1>++* Rearranging documentation.+ Version 0.2.1.0 ---------------
hakyll-dhall.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: df8bda3372080377a2eb79e646242a152d9f6b9d8e12f7730c4dfe310f3e62b3+-- hash: 33d491cb90dc6d583772d61bdcbf4d9b0376e39fa186ebd8e25f896786b4621b name: hakyll-dhall-version: 0.2.1.0+version: 0.2.1.1 synopsis: Dhall compiler for Hakyll description: Please see the README on GitHub at <https://github.com/mstksg/hakyll-dhall#readme> category: Web
src/Hakyll/Web/Dhall.hs view
@@ -37,14 +37,9 @@ -- files and presenting them as-is as a "final end-point". module Hakyll.Web.Dhall (- -- * Configuration and Options- DhallCompilerOptions(..), DhallCompilerTrust(..)- , defaultDhallCompilerOptions, dcoResolver, dcoMinimize, dcoNormalize- -- ** Resolver Behaviors- , DhallResolver(..), DefaultDhallResolver(..), drRemap, drFull -- * Import and Load Dhall Files -- ** As Dhall expressions- , DExpr(..)+ DExpr(..) , dExprCompiler, dExprCompilerWith -- *** From Hakyll cache , loadDhall, loadDhallSnapshot@@ -59,6 +54,11 @@ , dhallPrettyCompiler , dhallRawPrettyCompiler, dhallFullPrettyCompiler , dhallPrettyCompilerWith+ -- * Configuration and Options+ , DhallCompilerOptions(..), DhallCompilerTrust(..)+ , defaultDhallCompilerOptions, dcoResolver, dcoMinimize, dcoNormalize+ -- ** Resolver Behaviors+ , DhallResolver(..), DefaultDhallResolver(..), drRemap, drFull -- * Internal Utilities , parseRawDhallExprWith , resolveDhallImports@@ -252,9 +252,19 @@ -- inferrable, it can be helpful to use /TypeApplications/ syntax: -- -- @--- 'defaultCompilerOptions' \@'Import' -- do not resolve imports--- 'defaultCompilerOptions' \@'X' -- resolve imports+-- 'defaultDhallCompilerOptions' \@'Import' -- do not resolve imports+-- 'defaultDhallCompilerOptions' \@'X' -- resolve imports -- @+--+-- Default values are:+--+-- @+-- 'DCO'+-- { '_dcoResolver' = 'defaultDhallResolver'+-- , '_dcoMinimize' = 'False'+-- , '_dcoNormalize' = 'True'+-- }+-- @ defaultDhallCompilerOptions :: DefaultDhallResolver a => DhallCompilerOptions a@@ -346,7 +356,8 @@ -- @'Expr' 'Src' a@, but wrapped so that it has a 'Bi.Binary' instance that -- is usable by the Hakyll cache. ----- For example, here is a rule to parse and cache all configuration files:+-- For example, here is a rule to parse and cache all Dhall files in the+-- directory ./config: -- -- @ -- 'match' "config/**.dhall" $ do