jaspervdj / digestive-functors

A general way to consume input using applicative functors
149 stars 71 forks source link

modify Text.Digestive.Forms.Happstack to use [Input] instead of Input #11

Closed stepcut closed 13 years ago

stepcut commented 13 years ago

Hello,

I noticed in git that you changed FormInput to have getInputStrings and getInputTexts. I am not sure why you did this, but I highly approve. In order to support , I need to be able to get back multiple results that all have the same key name (eg, foo=1&foo=3).

This is now possible with the getInputStrings function. However in order to exploit that, the Happstack module needs to work with [Input] instead of Input.

So that is what this patch does.

This breaks compatibility with the old digestive-functors-happstack, so according to the package version policy I should bump the version from 0.0.2.1 to 0.1.0.0. But you don't seem to be following the policy so I will leave the version numbering up to you.

http://www.haskell.org/haskellwiki/Package_versioning_policy

It would great to have a new release on hackage..