fn-extra

Extras for Fn, a functional web framework.

http://github.com/positiondev/fn#readme

Version on this page:0.3.0.1
LTS Haskell 6.35:0.3.0.1
Stackage Nightly 2016-05-25:0.3.0.1
Latest on Hackage:0.3.0.2

See all snapshots fn-extra appears in

ISC licensed by Daniel Patterson
Maintained by [email protected]
This version can be pinned in stack with:fn-extra-0.3.0.1@sha256:78328fce9270961fcc5bb653357e95723cb213ae440987c31f9ed8ef69b279d1,1398

Module documentation for 0.3.0.1

About

This repository has some helpers that have heavier dependencies than core fn. In general, things get added here whenever using libraries on their own conflicts with the design goals of Fn. This could mean that there is a lot of boilerplate to get them set up, or they are heavily monadic (in which case the code here serves to make them use more normal functions).

Changes

  • 0.3.0.1 Daniel Patterson [email protected] 2016-3-11

    • Change repository location, copyright.
  • 0.3.0.0 Daniel Patterson [email protected] 2016-3-2

    • Switch Heist to use StateT rather than ReaderT, so splices can update context.
    • Add support for compiled heist.
    • Add support for digestive functors. Note: current (significant) limitation is that if you have already parsed the request body with !=> then we can only use post params and not files. This is because Fn parses them to lazy bytestrings, but digestive functors wants them in temporary files, and for now, we’re not converting (it could be done). But, the expectation is that if you are using digestive functors, you won’t ever be parsing post bodies with !=>.
  • 0.2.0.1 Daniel Patterson [email protected] 2016-1-20

    • Fix for GHC 7.8.4, which cabal file said would work, but didn’t.
  • 0.2.0.0 Daniel Patterson [email protected] 2015-11-5

    • Add heistServe, which serves templates according to path.
    • Remove heistLens and setHeist from HeistContext type class, as they aren’t used.
  • 0.1.1.0 Daniel Patterson [email protected] 2015-10-30

    • Add tag', which builds splices without atttributes.
  • 0.1.0.0 Daniel Patterson [email protected] 2015-10-26

    • Initial release.