[web-devel] Form Composition
michael at snoyman.com
Tue Jun 21 19:01:46 CEST 2011
Just passing this along:
---------- Forwarded message ----------
From: MightyByte <mightybyte at gmail.com>
To: web-devel at haskell.org
Date: Tue, 21 Jun 2011 12:47:07 -0400
Subject: Form Composition
I wrote something like this for formlets quite some time ago. (We
called it massInput.) For all practical purposes, formlets has been
superceded by digestive-functors . I re-implemented it again for
digest-functors (called inputList) with more features and better
design. It's a tricky problem, and I went down several dead-end
paths before converging on the solution as it exists in
digestive-functors now. If you're going to re-implement it with your
form framework, I would highly recommend looking at our existing work
On Thur, June 16, 2011 at 6:43 PM, Michael Snoyman wrote:
> This is definitely something missing from the yesod-form API as is.
> I'm not quite sure how the API would look for this; has anyone given
> this some thought?
> On Wed, Jun 15, 2011 at 7:06 AM, Tyson Whitehead <twhitehead at ...> wrote:
> > Hi All,
> > I'm wanting to make a form for "[a]" by composing forms for "a" along with
> > added a delete options and a final add another option.
> > Is there an accepted way to do this sort of thing? It doesn't seem to me to
> > be a good fit for the applicative framework as it is not a fixed structure.
> > Cheers! -Tyson
More information about the web-devel