packages feed

digestive-functors 0.4.1.1 → 0.4.1.2

raw patch · 2 files changed

+5/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

digestive-functors.cabal view
@@ -1,5 +1,5 @@ Name:     digestive-functors-Version:  0.4.1.1+Version:  0.4.1.2 Synopsis: A practical formlet library  Description:
src/Text/Digestive/Form/Internal.hs view
@@ -140,9 +140,10 @@         Nothing                  -> children form >>= go (r : rs)  toField :: FormTree Identity v m a -> Maybe (SomeField v)-toField (Pure _ x) = Just (SomeField x)-toField (Map _ x)  = toField x-toField _          = Nothing+toField (Pure _ x)  = Just (SomeField x)+toField (Map _ x)   = toField x+toField (Monadic x) = toField (runIdentity x)+toField _           = Nothing  queryField :: Path            -> FormTree Identity v m a