Fix build for hlint once again
This commit is contained in:
parent
beda7f7015
commit
8d29354818
@ -69,7 +69,7 @@ makeDemoForm n = identifyForm "adminTestForm" $ \html -> do -- Important: used i
|
|||||||
_otherwise -> (result, widget)
|
_otherwise -> (result, widget)
|
||||||
where
|
where
|
||||||
validateResult :: (Int,Bool,Double) -> [Text]
|
validateResult :: (Int,Bool,Double) -> [Text]
|
||||||
validateResult (i,True,d) | (fromIntegral i) >= d = [tshow d <> " ist nicht größer als " <> tshow i, "Zweite Fehlermeldung", "Dritte Fehlermeldung"]
|
validateResult (i,True,d) | fromIntegral i >= d = [tshow d <> " ist nicht größer als " <> tshow i, "Zweite Fehlermeldung", "Dritte Fehlermeldung"]
|
||||||
validateResult _other = []
|
validateResult _other = []
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user