packages feed

fn-extra 0.2.0.0 → 0.2.0.1

raw patch · 4 files changed

+10/−3 lines, 4 filessetup-changedPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+* 0.2.0.1 Daniel Patterson <dbp@dbpmail.net> 2015-1-20++  - Fix for GHC 7.8.4, which cabal file said would work, but didn't.+ * 0.2.0.0 Daniel Patterson <dbp@dbpmail.net> 2015-11-5    - Add `heistServe`, which serves templates according to path.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
fn-extra.cabal view
@@ -1,5 +1,5 @@ name:                fn-extra-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Extras for Fn, a functional web framework. description:         Please see README. homepage:            http://github.com/dbp/fn#readme
src/Web/Fn/Extra/Heist.hs view
@@ -36,6 +36,7 @@                           ) where  import           Blaze.ByteString.Builder+import           Control.Applicative        ((<$>)) import           Control.Arrow              (first) import           Control.Lens import           Control.Monad.Reader@@ -86,11 +87,11 @@ -- | Render templates according to the request path. Note that if you -- have matched some parts of the path, those will not be included in -- the path used to find the templates. For example, if you have--- 'foo/bar.tpl' in the directory where you loaded templates from,+-- @foo\/bar.tpl@ in the directory where you loaded templates from, -- -- > path "foo" ==> heistServe ----- Will match @foo/foo/bar@, but not @foo/bar@. To match that, you could:+-- Will match @foo\/foo\/bar@, but not @foo\/bar@. To match that, you could: -- -- > anything ==> heistServe --