yesodweb / yesod-cookbook

Cookbook documentation
225 stars 43 forks source link

Combining applicative and monadic forms to maintain default field behavior provided by applicative forms #49

Open joelmccracken opened 5 years ago

joelmccracken commented 5 years ago

I figured out how to do this the other day:

https://gist.github.com/joelmccracken/62b2d7605d89c07aeb223d255b66cdc2

It took me a bit of time to figure it out, and I thought it would be useful in this cookbook.

psibi commented 5 years ago

Sounds good. Can you send a PR ?

joelmccracken commented 5 years ago

Sure. The example I am using shows a few extraneous features; would it make sense to show it without those extras? or should I include them?

On Mon, Sep 2, 2019 at 12:27 PM Sibi notifications@github.com wrote:

Sounds good. Can you send a PR ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yesodweb/yesod-cookbook/issues/49?email_source=notifications&email_token=AAACVODZU5QCXMMOKU36MRLQHU5INA5CNFSM4IS654MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WGZQA#issuecomment-527199424, or mute the thread https://github.com/notifications/unsubscribe-auth/AAACVOBB5YXEFK3A4MNKKIDQHU5INANCNFSM4IS654MA .