Really fix button accumulation, this time
This commit is contained in:
parent
41eee7fd5b
commit
725e00cf68
@ -66,7 +66,6 @@ buttonForm html = do
|
||||
accResult' :: FormResult (Maybe a) -> FormResult a -> FormResult a
|
||||
accResult' (FormSuccess _) (FormSuccess _) = FormFailure ["Ambiguous parse"]
|
||||
accResult' (FormSuccess (Just x)) _ = FormSuccess x
|
||||
accResult' (FormFailure errs) _ = FormFailure errs
|
||||
accResult' _ x = x
|
||||
|
||||
----------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user