fn
fn copied to clipboard
A functional web framework
I wanted to just add webp but why not others. Also changed some of them to match the [official IANA doc](https://www.iana.org/assignments/media-types/media-types.xhtml). The new ones are from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types.
When installing I get this error: fn-extra> [2 of 2] Compiling Web.Fn.Extra.Heist fn-extra> fn-extra> src\Web\Fn\Extra\Heist.hs:47:1: error: fn-extra> Could not find module `Control.Monad.Trans.Either' fn-extra> Perhaps you meant fn-extra> Control.Monad.Trans.Iter (needs flag...
I was adding an authentication check, and thought that it would be nice if it were part of the routing (at least in the application I was dealing with, I...
In my codebase, we have many routes. One thing that I like about Fn is that I can put routes where ever it makes sense it me -- to compare...
Fixes #15.
[`FromParam`](http://hackage.haskell.org/package/fn-0.3.0.2/docs/Web-Fn.html#t:FromParam) has instances for some common types, but it doesn't have an instance for `String`. That's not such a big deal, because usually it's nicer to use `Text`. But since...